Orchestrata Ultimate › Tests › Reference › scripts › test_check_prod_tree_separation_paths

Tests reference — tests/scripts/test_check_prod_tree_separation_paths.py

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

Prose pending.

tests/scripts/test_check_prod_tree_separation_paths.py

source · 5 tests · 104 lines

Containment/path-resolution tests for scripts/check_prod_tree_separation.py.

Kind Name Line Description
function test_sibling_directory_sharing_a_name_prefix_is_not_inside 18 A string prefix is not containment: <root>-tools is a SIBLING of
function test_dotdot_escape_out_of_root_is_not_inside 35 root/../sibling must be resolved (collapsing ..) before judging,
function test_symlinked_route_to_root_resolves_as_inside 51 A real symlink whose target is root is still root once resolved, even
function test_root_subpath_is_inside 69 The ordinary case still resolves as a violation: a real subpath of
function test_trailing_slash_on_root_behaves_identically 85 A --dev-tree value with a trailing slash judges exactly like one