1
0
This repository has been archived on 2026-03-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Timmy-time-dashboard/tests
Alexander Whitestone e69228b793 test: improve event bus unit test coverage to 99% (Refs #1191)
Add tests for previously uncovered code paths in infrastructure.events.bus:
- TestSingletonHelpers: get_event_bus() singleton, init_event_bus_persistence()
  (idempotency and default-path behaviour), and module __getattr__ error path
- TestEventBusPersistence: exception-swallowing in _persist_event() and replay()
  (lines 143-144 and 200-202) via patched contextmanager

Coverage: 92.7% → 99.3% (38 tests, all passing).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 17:58:54 -04:00
..
2026-03-11 16:55:27 -04:00