Orchestrata Ultimate › Tests › Reference › scripts › test_ast_pattern_split

Tests reference — tests/scripts/test_ast_pattern_split.py

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

Prose pending.

tests/scripts/test_ast_pattern_split.py

source · 6 tests · 127 lines

Tests for pattern --split (one module file per generated GoF class).

Kind Name Line Description
function test_observer_split_two_files_with_cross_import 45
function test_strategy_split_context_imports_strategy 69
function test_single_class_pattern_is_one_file 84
function test_split_write_creates_files_on_disk 94
function test_split_to_new_dir_makes_package_and_absolute_imports 109
function test_split_missing_class_returns_none 124