Orchestrata Ultimate › Tests › Reference › test_orchestrata_tools_testgen_adapter_coverage
Tests reference — tests/test_orchestrata_tools_testgen_adapter_coverage.py
Module of tests, split out because the directory page would be too large.
Prose pending.
tests/test_orchestrata_tools_testgen_adapter_coverage.py
source · 11 tests · 345 lines
Branch-coverage completion for
adapter.py— the pure AST-shape
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_find_function_node_match_returns_sync_and_async_nodes |
83 | Line 70 — the matched return node arm, for both a plain |
| function | test_looks_abstract_via_mixin_skips_classes_not_in_base_names |
100 | Line 132 (first condition) — a class in the codebase whose name is |
| function | test_looks_abstract_via_mixin_skips_already_checked_file |
112 | Line 132 (second condition) — when two bases resolve to the SAME |
| function | test_looks_abstract_via_mixin_true_when_base_uses_mixin_host_trick |
130 | Line 139 — a base whose source contains the ``_MixinBase = _XHost if |
| function | test_callee_name_attribute_and_fallback |
150 | Lines 151-153 — _callee_name returns the .attr for an |
| function | test_dataclass_fields_from_node_all_shapes |
164 | Lines 172, 175, 186-194 — non-AnnAssign items and private fields are |
| function | test_dataclass_fields_from_node_skips_private_and_non_annassign |
221 | Lines 172, 175 exercised on their own: a bare assignment and a method |
| function | test_dataclass_params_extracts_flags |
243 | Line 219 — frozen/slots/eq values are pulled out of the |
| function | test_class_structural_extra_enum_plain_enum_base |
263 | Lines 273, 276, 277 — an enum whose bases contain no IntEnum/StrEnum |
| function | test_class_structural_extra_enum_intenum_base |
278 | Lines 274-275, 277 — an IntEnum base short-circuits the base |
| function | test_class_structural_extra_protocol_method_members |
316 | Lines 302-304 — a private non-property method is skipped, while a |