meshcore_py/tests/unit
Matthew Wolter 7b459aa6a5 G5: add verification tests for F05, F07, F08, F19
10 new tests in tests/unit/test_g5_asyncio_lifecycle.py:

- TestF05: _spawn_background retains tasks in TCP, Serial, and
  EventDispatcher; tracked tasks survive gc.collect(); TCP handle_rx
  and connection_lost use tracked dispatch.
- TestF07: stop() waits for in-flight async callbacks to complete.
- TestF08: EventDispatcher.queue is None before start(), created on
  start(), dispatch() before start() raises RuntimeError;
  CommandHandlerBase lock is None before access, created lazily.
- TestF19: send() calls get_running_loop (not get_event_loop).

Refs: Forensics report findings F05, F07, F08, F19
2026-04-12 03:57:35 -07:00
..
test_commands.py Fix 16 failing unit tests to match current source behavior 2026-04-05 18:38:16 -07:00
test_events.py feat: Refactor binary commands and apply BLE fixes 2025-08-05 15:31:54 -04:00
test_g5_asyncio_lifecycle.py G5: add verification tests for F05, F07, F08, F19 2026-04-12 03:57:35 -07:00
test_lpp_parsing.py Fix 16 failing unit tests to match current source behavior 2026-04-05 18:38:16 -07:00
test_path_discovery_response.py Fix three byte path packets 2026-03-18 17:31:17 -07:00
test_private_key_export.py Fix 16 failing unit tests to match current source behavior 2026-04-05 18:38:16 -07:00
test_reader.py Fix 16 failing unit tests to match current source behavior 2026-04-05 18:38:16 -07:00
test_serial_connection.py Use the frame start once we've found it 2026-03-21 21:08:04 -07:00