Orchestrata Ultimate › Tests › Reference › knowledge_graph › test_ast_to_kg
Tests reference — tests/knowledge_graph/test_ast_to_kg.py
Module of tests/knowledge_graph, split out because the directory page would be too large.
Prose pending.
tests/knowledge_graph/test_ast_to_kg.py
source · 10 tests · 544 lines
Tests for
scripts/serialize_codebase_ast.py ast-to-kg.
Covers: knowledge_graph.kg_context, knowledge_graph.sync
| Kind | Name | Line | Description |
|---|---|---|---|
| class | TestAstToKg |
68 | |
| method | TestAstToKg.test_dry_run_reports_counts |
69 | |
| method | TestAstToKg.test_writes_complexity_and_call_edges |
96 | |
| method | TestAstToKg.test_ast_file_not_found |
170 | |
| method | TestAstToKg.test_no_functions_in_ast_short_circuits |
179 | |
| method | TestAstToKg.test_neo4j_connection_error_is_reported_not_raised |
190 | A totally unreachable Neo4j (bad URI) must land in errors, |
| class | TestRealWriterIntegration |
228 | Prove ast_to_kg against nodes written by the REAL GraphSyncer -- the |
| method | TestRealWriterIntegration.test_functions_updated_against_real_writer |
234 | |
| method | TestRealWriterIntegration.test_method_matched_by_method_label |
327 | Methods are MERGEd as :Method (not :Function) by the real writer; |
| method | TestRealWriterIntegration.test_call_edge_fallback_matches_across_modules_by_name |
411 | A call to a function in a DIFFERENT module can't be resolved via |
| class | TestKGCodeContextAstSignals |
501 | |
| method | TestKGCodeContextAstSignals.test_get_complexity_hotspots |
502 | |
| method | TestKGCodeContextAstSignals.test_get_call_graph_neighborhood |
525 |