Orchestrata Ultimate › Tests › Reference › knowledge_graph › test_graph_client_coverage
Tests reference — tests/knowledge_graph/test_graph_client_coverage.py
Module of tests/knowledge_graph, split out because the directory page would be too large.
Prose pending.
tests/knowledge_graph/test_graph_client_coverage.py
source · 23 tests · 539 lines
Test Standards Compliance (see AGENTS.md § Test Standards):
Covers: core.graph_factory, knowledge_graph.canonical_schema, knowledge_graph.config, knowledge_graph.exceptions, knowledge_graph.graph_client, knowledge_graph.types, core.graph/ (package)
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_client_close_idempotent |
54 | |
| function | test_connect_shared_driver_success |
79 | connect() with a reachable externally-owned driver takes the 'verify |
| function | test_connect_shared_driver_failure_unreachable |
104 | connect() with an externally-owned driver pointed at an unreachable |
| function | test_connect_own_driver_failure_unreachable |
129 | connect() building its own driver against an unreachable address hits |
| function | test_ensure_schema_not_connected |
149 | |
| function | test_ensure_schema_creates_constraints_and_indexes |
156 | |
| function | test_ensure_schema_applies_canonical_identity_constraints |
173 | The boot path applies THE canonical DDL (SPEC-106), not a fork of it. |
| function | test_ensure_schema_raises_on_bad_ddl |
221 | A failing DDL statement must RAISE, not be swallowed to debug logs. |
| function | test_ensure_schema_tolerates_equivalent_existing_constraint |
238 | A re-declared equivalent constraint is skipped, not fatal. |
| function | test_create_node_not_connected |
288 | |
| function | test_create_and_get_node |
296 | |
| function | test_get_node_not_found |
318 | |
| function | test_update_node |
329 | |
| function | test_update_node_not_found |
352 | |
| function | test_delete_node |
363 | |
| function | test_delete_node_not_found |
383 | |
| function | test_create_and_delete_relationship_with_properties |
397 | |
| function | test_create_relationship_without_properties |
428 | |
| function | test_query_returns_records |
459 | |
| function | test_query_raises_not_connected |
470 | |
| function | test_count_nodes_with_and_without_label |
477 | |
| function | test_execute_raises_graph_query_error_on_syntax_error |
494 | A non-transient error (invalid Cypher) is raised immediately, without |
| function | test_execute_retries_transient_error_then_raises |
507 | A genuine unique-constraint violation ('already exists') is classified |