Orchestrata Ultimate › Tests › Reference › test_orchestrata_tools_body_matcher

Tests reference — tests/test_orchestrata_tools_body_matcher.py

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

Prose pending.

tests/test_orchestrata_tools_body_matcher.py

source · 16 tests · 386 lines

Tests for BodyMatcher.direct_call_index / is_subclass_of.

Kind Name Line Description
function test_direct_call_index_resolves_var_typed_calls 66
function test_direct_call_index_excludes_fixture_calls 73
function test_direct_call_index_excludes_own_decorators 80
function test_direct_call_index_keys_class_scoped_tests 87
function test_direct_call_index_returns_fresh_copies 94
function test_is_subclass_of_walks_source_inheritance 102
function test_class_used_by_test_direct_import 136
function test_class_used_by_test_accepts_subclass_of_target 143
function test_build_index_fallback_root_named_tests 185
function test_build_index_fallback_root_not_named_tests 197
function test_parse_file_skips_file_with_syntax_error 210
function test_parse_module_skips_module_with_no_file_path 224
function test_is_tested_false_when_method_never_called 236
function test_is_tested_true_when_test_imports_class_directly 252
function test_is_tested_true_via_subclass_import 278
function test_is_tested_module_level_import_fallback 334