Orchestrata Ultimate › Tests › Reference › kernel › test_volk_status_bridge
Tests reference — tests/kernel/test_volk_status_bridge.py
Module of tests/kernel, split out because the directory page would be too large.
Prose pending.
tests/kernel/test_volk_status_bridge.py
source · 8 tests · 305 lines
Unit tests for kernel.volk_status_bridge.VolkStatusEventBridge — the
Covers: agents.volk_registry, core.base.traces, kernel.heartbeat_pump, kernel.volk_status_bridge
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestOnStatusChangeHappyPath |
70 | |
| method | TestOnStatusChangeHappyPath.test_schedules_the_emit_coroutine_with_the_right_payload |
71 | |
| class | TestOnStatusChangeNeverRaises |
90 | REQ-001-022/REQ-001-017: on_status_change must never raise into the |
| method | TestOnStatusChangeNeverRaises.test_swallows_a_synchronously_raising_emit |
94 | |
| method | TestOnStatusChangeNeverRaises.test_unbound_no_running_loop_closes_the_coroutine_instead_of_raising |
109 | A plain (non-async) call site with NO bind_loop either -- e.g. |
| method | TestOnStatusChangeNeverRaises.test_schedule_ignores_a_non_coroutine_emit_return |
126 | A real (non-mock) emit whose return value is not a coroutine at |
| class | TestBindLoopOffThreadDelivery |
145 | The packet-P8 fix: with a loop bound via bind_loop, |
| method | TestBindLoopOffThreadDelivery.test_bound_loop_delivers_on_status_change_from_a_thread_with_no_loop |
155 | |
| method | TestBindLoopOffThreadDelivery.test_pump_driven_revival_delivers_through_bound_loop |
188 | End-to-end reproduction of the production wiring |
| class | TestLogTaskResult |
266 | Direct coverage of the fire-and-forget task's done-callback — the |
| method | TestLogTaskResult.test_cancelled_task_logs_nothing |
270 | |
| method | TestLogTaskResult.test_a_failing_emission_task_is_logged |
288 | The scheduled coroutine itself raises once awaited (a genuine |