Orchestrata Ultimate › Tests › Reference › knowledge_graph › test_cxp_auditor
Tests reference — tests/knowledge_graph/test_cxp_auditor.py
Module of tests/knowledge_graph, split out because the directory page would be too large.
Prose pending.
tests/knowledge_graph/test_cxp_auditor.py
source · 22 tests · 542 lines
Tests for knowledge_graph.cxp_auditor.
Covers: knowledge_graph.canonical_schema, knowledge_graph.cxp_auditor, core.graph/ (package), core.packet/ (package)
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestSpikeAuditor |
89 | |
| method | TestSpikeAuditor.test_init_no_driver |
90 | |
| method | TestSpikeAuditor.test_init_with_unavailable_driver |
98 | |
| method | TestSpikeAuditor.test_log_packet_unavailable |
113 | |
| method | TestSpikeAuditor.test_log_routing_unavailable |
130 | |
| method | TestSpikeAuditor.test_close_no_driver |
135 | |
| method | TestSpikeAuditor.test_close_with_owned_driver |
141 | |
| method | TestSpikeAuditor.test_close_does_not_close_shared_driver |
158 | |
| method | TestSpikeAuditor.test_log_packet_with_available_driver |
165 | |
| method | TestSpikeAuditor.test_log_routing_with_available_driver |
206 | |
| method | TestSpikeAuditor.test_log_packet_is_reachable_from_project_hub |
241 | Session-254 ruling: every CXPPacket must be reachable from the root |
| method | TestSpikeAuditor.test_log_packet_reuses_existing_thread |
276 | MERGE semantics: two packets on the same thread_id must share one |
| method | TestSpikeAuditor.test_backward_compat_alias |
327 | |
| method | TestSpikeAuditor.test_log_packet_noop_with_dead_endpoint_repo |
334 | Inject a dead-endpoint repo: init leaves _available False and |
| method | TestSpikeAuditor.test_available_now_redial_attempted_and_throttled |
360 | backlog #219: SpikeAuditor no longer permanently disables audit |
| method | TestSpikeAuditor.test_owned_auditor_log_packet_writes_real_node |
393 | Happy path (backlog #219): an owned auditor (repo=None) that |
| method | TestSpikeAuditor.test_available_now_redial_recovers_injected_repo |
430 | backlog #219: an INJECTED repo that was marked unavailable (e.g. a |
| method | TestSpikeAuditor.test_available_now_redial_recovers_owned_repo |
443 | backlog #219: an OWNED auditor (repo=None) that was marked |
| method | TestSpikeAuditor.test_log_packet_returns_false_on_write_failure |
461 | A repo that connected successfully but whose WRITE fails must |
| method | TestSpikeAuditor.test_log_routing_returns_false_on_write_failure |
489 | Same shape as test_log_packet_returns_false_on_write_failure |
| class | TestEnsureIndexesConstraintRetired |
503 | CXPPacket graduated into canonical_schema.CANONICAL_MERGE_KEYS |
| method | TestEnsureIndexesConstraintRetired.test_ensure_indexes_no_longer_creates_a_constraint |
525 | |
| method | TestEnsureIndexesConstraintRetired.test_ensure_indexes_still_creates_the_thread_id_index |
530 | |
| method | TestEnsureIndexesConstraintRetired.test_canonical_schema_now_owns_the_cxp_message_id_name |
535 |