Orchestrata Ultimate › Tests › Reference › scripts › test_check_env_subnet_scheme

Tests reference — tests/scripts/test_check_env_subnet_scheme.py

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

Prose pending.

tests/scripts/test_check_env_subnet_scheme.py

source · 14 tests · 151 lines

Tests for scripts/check_env_subnet_scheme.py — the backlog-413 ruling gate

Kind Name Line Description
class TestSchemeSelfCheck 26
method TestSchemeSelfCheck.test_ratified_scheme_is_internally_consistent 27
method TestSchemeSelfCheck.test_scheme_covers_exactly_the_three_environments 31
method TestSchemeSelfCheck.test_env_octets_are_unique_and_frame_is_shared 35
class TestCheckProfile 44
method TestCheckProfile.test_live_pending_map_is_empty_migration_complete 47
method TestCheckProfile.test_pending_env_pinned_to_exact_legacy_subnet 53
method TestCheckProfile.test_pending_env_rejects_drift_outside_legacy_subnet 58
method TestCheckProfile.test_pending_env_rejects_another_envs_subnet 66
method TestCheckProfile.test_every_env_asserts_the_scheme 76
method TestCheckProfile.test_migrated_env_asserts_the_scheme 89
method TestCheckProfile.test_non_ten_dot_addresses_are_out_of_scope 97
class TestLiveGate 103
method TestLiveGate.test_gate_passes_on_the_real_repo_profiles 104
method TestLiveGate.test_unknown_arguments_exit_2 115
method TestLiveGate.test_test_env_has_zero_violations_via_check_profile 125
method TestLiveGate.test_test_env_ha_coordinator_uris_are_on_the_test_subnet 137