Orchestrata Ultimate › Tests › Reference › scripts › test_ast_toolkit_extra
Tests reference — tests/scripts/test_ast_toolkit_extra.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_ast_toolkit_extra.py
source · 14 tests · 364 lines
Tests for the AST tool's import-graph / trace / move / in-place-pattern /
Covers: core.base.traces
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_who_imports_finds_module_and_symbol |
42 | |
| function | test_trace_placeholder_is_import_safe |
55 | The placeholder req ID must pass @traces validation (no ValueError). |
| function | test_add_trace_lists_and_applies |
66 | |
| function | test_move_symbol_repoints_importers_and_back_imports_deps |
87 | |
| function | test_move_symbol_splits_multi_name_import |
126 | |
| function | test_move_symbol_missing_returns_error |
140 | |
| function | test_pattern_inplace_singleton_injects_new |
149 | |
| function | test_pattern_inplace_factory_injects_classmethod |
163 | |
| function | test_pattern_inplace_rejects_wrapper_pattern |
175 | |
| function | test_unused_skips_decorated_string_ref_and_exported |
185 | decorated/exported stay UNCONDITIONAL exclusions (never |
| function | test_unused_include_traced_surfaces_traces_only_and_string_ref |
220 | --include-traced (W1.6 fix c) narrows exactly one precision |
| function | test_unused_include_traced_cli_surfaces_synthetic_orphans |
273 | Regression check (W1.6 fix c) for the --include-traced CLI surface, |
| function | test_audit_skips_print_in_main_guard_and_tags_severity |
339 | |
| function | test_parse_cache_invalidates_on_file_change |
357 |