Orchestrata Ultimate › Tests › Reference › scripts › test_check_env_fleet_agreement

Tests reference — tests/scripts/test_check_env_fleet_agreement.py

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

Prose pending.

tests/scripts/test_check_env_fleet_agreement.py

source · 14 tests · 231 lines

Tests for scripts/check_env_fleet_agreement.py — the env/fleet agreement gate.

Kind Name Line Description
function test_the_committed_tree_agrees_with_the_recorded_state 77
function test_an_edited_derived_key_is_named_by_file_and_key 81
function test_a_commented_out_owned_key_fails 92 The 2026-09-21 CHANGEME sweep commented TEST_MEMGRAPH_URI out of a .env.
function test_an_absent_owned_key_fails 105
function test_the_template_is_gated_for_its_test_keys 119 .env.example carried a retired prod-bridge TEST_MEMGRAPH_URI for two months.
function test_inline_comments_do_not_count_as_part_of_the_value 132
function test_a_missing_env_file_fails_every_owned_key 142
function test_an_applied_endpoints_output_must_match_the_derivation 151
function test_execute_reports_agreement_and_violations 176
function test_an_empty_state_is_a_failure_not_a_pass 186
function test_main_reads_the_state_through_the_injected_runner 192
function test_main_fails_when_the_state_cannot_be_read 201
function test_main_help_exits_zero_through_the_gate_parser 209
function test_the_cli_passes_on_the_worktree_and_names_a_drifted_key_in_a_copy 215 Real script, real tofu, real state — exit 0 on the tree, non-zero on a drifted copy.