Orchestrata Ultimate › Tests › Reference › orchestrator › test_graph_audit_behavioral
Tests reference — tests/orchestrator/test_graph_audit_behavioral.py
Module of tests/orchestrator, split out because the directory page would be too large.
Prose pending.
tests/orchestrator/test_graph_audit_behavioral.py
source · 32 tests · 371 lines
Behavioral tests for graph audit, fact store, and fact graph.
Covers: orchestrator.fact_graph, orchestrator.graph_audit, core.graph/ (package), governance.escalation_handler/ (package)
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestGraphAuditConfig |
51 | |
| method | TestGraphAuditConfig.test_defaults |
52 | |
| class | TestGraphAuditTrail |
79 | |
| method | TestGraphAuditTrail.test_init |
80 | |
| method | TestGraphAuditTrail.test_dropped_events |
86 | |
| method | TestGraphAuditTrail.test_start_and_stop |
90 | |
| method | TestGraphAuditTrail.test_enqueue_without_redis |
99 | |
| method | TestGraphAuditTrail.test_log_event_without_redis |
105 | |
| method | TestGraphAuditTrail.test_log_policy_decision |
117 | |
| method | TestGraphAuditTrail.test_log_session_start |
132 | |
| method | TestGraphAuditTrail.test_log_session_end |
136 | |
| method | TestGraphAuditTrail.test_log_tool_call |
140 | |
| method | TestGraphAuditTrail.test_log_violation |
144 | |
| method | TestGraphAuditTrail.test_log_timeout |
148 | |
| method | TestGraphAuditTrail.test_log_resolution |
152 | |
| method | TestGraphAuditTrail.test_get_escalations_no_driver |
168 | |
| method | TestGraphAuditTrail.test_get_violations_no_driver |
173 | |
| method | TestGraphAuditTrail.test_get_resolutions_no_driver |
178 | |
| method | TestGraphAuditTrail.test_query_audit_trail_no_driver |
183 | |
| method | TestGraphAuditTrail.test_health_check_no_driver |
188 | |
| method | TestGraphAuditTrail.test_close |
192 | |
| method | TestGraphAuditTrail.test_aclose |
197 | |
| method | TestGraphAuditTrail.test_event_labels_mapping |
202 | |
| method | TestGraphAuditTrail.test_audit_event_session_branch_anchors_session_to_project |
207 | Session branch must MERGE the Session AND its HAS_SESSION hub edge |
| method | TestGraphAuditTrail.test_audit_event_without_session_id_is_not_orphaned |
235 | When no session_id is provided, escalation_id is used as the |
| method | TestGraphAuditTrail.test_write_event_unreachable_endpoint_returns_false |
264 | A write that cannot land (nothing listening on the endpoint) must |
| class | TestFactGraph |
302 | |
| method | TestFactGraph.test_get_graph_failure_count |
303 | |
| method | TestFactGraph.test_build_create_query_with_session |
308 | |
| method | TestFactGraph.test_build_create_query_without_session |
317 | |
| method | TestFactGraph.test_write_fact_no_driver |
323 | |
| method | TestFactGraph.test_delete_fact_no_driver |
335 | |
| method | TestFactGraph.test_clear_facts_no_driver |
338 | |
| class | TestAuditEvent |
342 | |
| method | TestAuditEvent.test_creation |
343 | |
| class | TestPolicyDecision |
357 | |
| method | TestPolicyDecision.test_creation |
358 |