Orchestrata Ultimate › Tests › Reference › generated_recovery › test_knowledge_graph_cxp_auditor
Tests reference — tests/generated_recovery/test_knowledge_graph_cxp_auditor.py
Module of tests/generated_recovery, split out because the directory page would be too large.
Prose pending.
tests/generated_recovery/test_knowledge_graph_cxp_auditor.py
source · 8 tests · 171 lines
Auto-generated tests for: knowledge_graph.cxp_auditor
Covers: knowledge_graph.cxp_auditor
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestSpikeAuditorLogPacketBranches |
32 | Branch coverage for SpikeAuditor.log_packet. |
| method | TestSpikeAuditorLogPacketBranches.test_returns_false_when_the_auditor_has_no_repository |
57 | The not self._available_now() or self._repo is None guard. |
| method | TestSpikeAuditorLogPacketBranches.test_returns_false_when_the_write_raises |
71 | The except Exception handler. |
| method | TestSpikeAuditorLogPacketBranches.test_a_failing_write_never_propagates_to_the_caller |
84 | Audit is a side-channel: it reports failure, it does not raise. |
| class | TestSpikeAuditorLogRoutingBranches |
93 | Branch coverage for SpikeAuditor.log_routing — see the note on |
| method | TestSpikeAuditorLogRoutingBranches.test_returns_false_when_the_auditor_has_no_repository |
103 | |
| method | TestSpikeAuditorLogRoutingBranches.test_returns_a_bool_when_the_repository_is_live |
116 | Contract assertion, deliberately not a fixed value. |
| method | TestSpikeAuditorLogRoutingBranches.test_a_failing_write_never_propagates_to_the_caller |
135 | |
| class | TestSpikeAuditorCloseBranches |
145 | Branch coverage for SpikeAuditor.close. |
| method | TestSpikeAuditorCloseBranches.test_close_returns_none_and_drops_the_repository |
158 | |
| method | TestSpikeAuditorCloseBranches.test_close_is_idempotent |
162 | The second call takes the self._repo is None branch. |