Orchestrata Ultimate › Tests › Reference › orchestrator › test_fact_graph
Tests reference — tests/orchestrator/test_fact_graph.py
Module of tests/orchestrator, split out because the directory page would be too large.
Prose pending.
tests/orchestrator/test_fact_graph.py
source · 10 tests · 204 lines
Tests for orchestrator.fact_graph.
Covers: core.graph.adapters.bolt_async, core.graph.config, orchestrator.fact_graph
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestBuildCreateQuery |
40 | |
| method | TestBuildCreateQuery.test_with_session_id |
41 | |
| method | TestBuildCreateQuery.test_without_session_id |
56 | |
| method | TestBuildCreateQuery.test_arguments_json_serialization |
64 | |
| class | TestGraphFailureCount |
71 | |
| method | TestGraphFailureCount.test_initial_count |
72 | |
| method | TestGraphFailureCount.test_increment |
76 | |
| class | TestWriteFactOnFailureCallback |
82 | |
| method | TestWriteFactOnFailureCallback.test_write_fact_invokes_on_failure_with_the_real_exception |
83 | A repo with an unrecognized URI scheme fails driver construction |
| class | TestFactGraphSessionReachableFromProject |
105 | Session-254 root-connectivity ruling: write_fact's Session write |
| method | TestFactGraphSessionReachableFromProject.test_fact_graph_session_reachable_from_project |
111 | |
| class | TestDeleteFact |
148 | delete_fact is best-effort: it must both succeed against a real repo |
| method | TestDeleteFact.test_delete_fact_removes_the_node |
159 | |
| method | TestDeleteFact.test_delete_fact_swallows_repo_failure |
182 | |
| class | TestClearFacts |
191 | clear_facts is a blunt MATCH (f:Fact) DELETE f over the WHOLE |
| method | TestClearFacts.test_clear_facts_swallows_repo_failure |
199 |