Orchestrata Ultimate › Tests › Reference › knowledge_graph › test_class_extractor
Tests reference — tests/knowledge_graph/test_class_extractor.py
Module of tests/knowledge_graph, split out because the directory page would be too large.
Prose pending.
tests/knowledge_graph/test_class_extractor.py
source · 22 tests · 258 lines
Tests for knowledge_graph.class_extractor — ClassExtractor.
Covers: knowledge_graph.class_extractor
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_extract_empty |
28 | |
| function | test_extract_single_class |
34 | |
| function | test_extract_multiple_classes |
45 | |
| function | test_extract_with_methods |
54 | |
| function | test_extract_with_docstring |
69 | |
| function | test_extract_with_decorators |
77 | |
| function | test_extract_with_base_classes |
85 | |
| function | test_extract_with_module_base_class |
92 | |
| function | test_extract_line_numbers |
99 | |
| function | test_extract_with_methods_details |
112 | |
| function | test_extract_with_methods_async |
130 | |
| function | test_extract_with_methods_signature |
142 | |
| function | test_extract_with_methods_decorators |
154 | |
| function | test_extract_with_methods_docstring |
167 | |
| function | test_extract_with_methods_class_id_is_uuid |
180 | |
| function | test_extract_decorators_call_with_args |
195 | |
| function | test_extract_decorators_module_attribute |
202 | |
| function | test_extract_decorators_multiple |
209 | |
| function | test_extract_decorators_call_with_attribute_func |
216 | |
| function | test_extract_method_decorators_call_and_attribute |
223 | |
| function | test_extract_skips_nested_classes |
241 | |
| function | test_extract_skips_functions |
254 |