Orchestrata Ultimate › Tests › Reference › knowledge_graph › test_real_graph_knowledge
Tests reference — tests/knowledge_graph/test_real_graph_knowledge.py
Module of tests/knowledge_graph, split out because the directory page would be too large.
Prose pending.
tests/knowledge_graph/test_real_graph_knowledge.py
source · 11 tests · 288 lines
Real graph integration tests for orchestrata_ultimate-knowledge.
Covers: knowledge_graph.config, knowledge_graph.graph_client, knowledge_graph.synchronizer, knowledge_graph.test_results_store, knowledge_graph.types, core.graph/ (package)
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestGraphClientAliasConnect |
96 | Test GraphClientAlias.connect against a real graph. |
| method | TestGraphClientAliasConnect.test_connect_succeeds |
99 | Verify connection to a real graph instance. |
| method | TestGraphClientAliasConnect.test_connect_bad_uri_fails |
108 | Verify connection failure with bad URI. |
| class | TestFileSynchronizerReal |
123 | Test FileSynchronizer.sync_file with real .py files. |
| method | TestFileSynchronizerReal.test_sync_real_python_file |
126 | Sync a real .py file and verify result. |
| method | TestFileSynchronizerReal.test_sync_same_file_twice_skips |
145 | Second sync of unchanged file is SKIPPED. |
| method | TestFileSynchronizerReal.test_sync_missing_file_fails |
155 | Syncing non-existent file returns FAILED. |
| method | TestFileSynchronizerReal.test_sync_project_directory |
163 | Sync a directory with multiple .py files. |
| method | TestFileSynchronizerReal.test_needs_sync_and_hash |
176 | After sync, hash is stored and needs_sync returns False. |
| method | TestFileSynchronizerReal.test_clear_resets_state |
186 | clear() resets sync count and tracked files. |
| class | TestTestResultsStoreReal |
202 | Test TestResultsStore against a real graph. |
| method | TestTestResultsStoreReal.test_save_run_and_query_covering |
205 | Save a test run and query which tests cover a function. |
| method | TestTestResultsStoreReal.test_get_affected_tests |
243 | get_affected_tests returns union of covering tests. |
| method | TestTestResultsStoreReal.test_get_tests_covering_unknown_function |
284 | Querying for unknown function returns empty list. |