Orchestrata Ultimate › Tests › Reference › knowledge_graph › test_function_extractor

Tests reference — tests/knowledge_graph/test_function_extractor.py

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

Prose pending.

tests/knowledge_graph/test_function_extractor.py

source · 11 tests · 92 lines

Tests for knowledge_graph.function_extractor.

Covers: knowledge_graph.function_extractor

Kind Name Line Description
class TestFunctionExtractor 8
method TestFunctionExtractor.test_extract_simple_function 9
method TestFunctionExtractor.test_extract_async_function 18
method TestFunctionExtractor.test_extract_skips_methods 27
method TestFunctionExtractor.test_extract_all_includes_methods 35
method TestFunctionExtractor.test_extract_decorators 42
method TestFunctionExtractor.test_extract_calls 49
method TestFunctionExtractor.test_extract_varargs 57
method TestFunctionExtractor.test_extract_return_type 65
method TestFunctionExtractor.test_extract_call_decorator 72
method TestFunctionExtractor.test_extract_attribute_decorator 79
method TestFunctionExtractor.test_extract_call_attribute_decorator_ignored 86 FunctionExtractor currently ignores Call decorators with Attribute funcs.