Files
aprsd/tests
hemna 28d0ac0e6b fix: initialise StatsStore.data = {} in __init__ (#260)
ObjectStoreMixin.save() calls len(self) -> len(self.data) immediately.
StatsStore never set self.data in __init__, so any call to save() before
add() raised AttributeError: 'StatsStore' object has no attribute 'data',
crashing APRSDStatsStoreThread on the first tick if the path where
enable_save is True is hit.

Tests updated/added (tests/threads/test_stats.py):
- test_init: now asserts data exists and equals {} (was asserting absence)
- test_save_before_add_does_not_raise: regression guard — save() must not
  raise AttributeError when called before add()

Closes #241
2026-08-28 13:45:43 -04:00
..
2025-12-09 17:20:23 -05:00
2026-01-06 18:57:54 -05:00
2025-12-09 17:20:23 -05:00
2026-01-05 17:00:03 -05:00