Orchestrata Ultimate › Tests › Reference › knowledge_graph › test_cxp_auditor_coverage
Tests reference — tests/knowledge_graph/test_cxp_auditor_coverage.py
Module of tests/knowledge_graph, split out because the directory page would be too large.
Prose pending.
tests/knowledge_graph/test_cxp_auditor_coverage.py
source · 9 tests · 232 lines
Coverage tests for cxp_auditor.py — writes real CXPPacket nodes to the graph.
Covers: knowledge_graph.cxp_auditor, core.graph/ (package), core.packet/ (package)
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_cxpauditor_is_spikeauditor |
43 | |
| function | test_log_packet_creates_cxp_node |
52 | |
| function | test_log_packet_handles_datetime_and_string_timestamp |
78 | Cover isoformat branch and str branch. |
| function | test_log_packet_empty_payload |
97 | |
| function | test_log_routing_creates_edge |
122 | |
| function | test_disabled_auditor_with_dead_driver |
159 | Shared driver that fails verify marks auditor unavailable. |
| function | test_close_with_shared_driver_does_not_close |
187 | |
| function | test_auditor_connects_without_shared_driver |
195 | SpikeAuditor() without a repo invokes _connect() and owns its repo. |
| function | test_log_packet_error_path_with_broken_driver |
204 | If the underlying driver is closed mid-operation, the write fails but |