Orchestrata Ultimate › Tests › Reference › knowledge_graph › test_knowledge_analyzer

Tests reference — tests/knowledge_graph/test_knowledge_analyzer.py

Module of tests/knowledge_graph, split out because the directory page would be too large.

Prose pending.

tests/knowledge_graph/test_knowledge_analyzer.py

source · 14 tests · 139 lines

Tests for ASTAnalyzer.

Covers: knowledge_graph.ast_analyzer, knowledge_graph.types

Kind Name Line Description
class TestAnalyzeFile 50
method TestAnalyzeFile.test_analyze_python_file 51
method TestAnalyzeFile.test_analyze_finds_classes 56
method TestAnalyzeFile.test_analyze_finds_functions 60
method TestAnalyzeFile.test_analyze_nonexistent 64
method TestAnalyzeFile.test_analyze_file_detailed 68
class TestAnalyzeProject 73
method TestAnalyzeProject.test_analyze_project 74
method TestAnalyzeProject.test_project_classes 79
method TestAnalyzeProject.test_project_functions 83
method TestAnalyzeProject.test_project_skips_pycache 87
method TestAnalyzeProject.test_project_parse_time 92
method TestAnalyzeProject.test_nonexistent_project 96
method TestAnalyzeProject.test_analyze_real_project 100
class TestAnalyzeRealFiles 115
method TestAnalyzeRealFiles.test_parse_own_source 116
method TestAnalyzeRealFiles.test_parse_prolog_file 128