Orchestrata Ultimate › Tests › Reference › test_orchestrata_ast_derive_subtree

Tests reference — tests/test_orchestrata_ast_derive_subtree.py

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

Prose pending.

tests/test_orchestrata_ast_derive_subtree.py

source · 11 tests · 215 lines

Tests for orchestrata_ast.analyzer.derive_subtree.

Kind Name Line Description
class TestProjection 71
method TestProjection.test_only_the_named_tree_survives 72
method TestProjection.test_the_trees_own_prefix_is_stripped 86 tests.sub.test_deep -> sub.test_deep — what a
method TestProjection.test_the_tree_package_itself_becomes_dunder_init 99 tests/__init__.py is tests in the wide snapshot — the
method TestProjection.test_file_paths_become_repo_relative 112
method TestProjection.test_the_root_and_name_describe_the_subtree 123
method TestProjection.test_file_meta_is_keyed_by_the_projected_ids 133
class TestDerivedGraphsAreRebuilt 145 Not sliced out of the wide graphs — recomputed over the narrowed set.
method TestDerivedGraphsAreRebuilt.test_graph_keys_carry_no_tree_prefix 154
method TestDerivedGraphsAreRebuilt.test_a_dep_outside_the_subtree_keeps_its_full_path 164
method TestDerivedGraphsAreRebuilt.test_the_wide_snapshot_shortens_the_same_dep 173 The control: in the wide snapshot base IS a module id, so the
method TestDerivedGraphsAreRebuilt.test_totals_describe_the_subtree_not_the_whole_snapshot 182
class TestTheLiveArtifact 193 Against the real plans/ pair, not a fixture.
method TestTheLiveArtifact.test_the_two_artifacts_cannot_disagree_about_a_test_module 196 The property the second parse could not offer: every module in