Orchestrata Ultimate › Tests › Reference › scripts › test_check_infra_drift

Tests reference — tests/scripts/test_check_infra_drift.py

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

Prose pending.

tests/scripts/test_check_infra_drift.py

source · 11 tests · 238 lines

Tests for scripts/check_infra_drift.py — the ADR-0077 item-4 drift gate.

Kind Name Line Description
function test_no_iac_root_is_a_printed_note_not_a_failure 72
function test_missing_state_fails_and_names_the_import 80
function test_no_usable_binary_fails 91
function test_resolve_binary_order_is_env_then_path_then_home_bin 105
function test_zero_diff_passes_and_records_the_verdict 117
function test_drift_fails_and_names_the_resource 130
function test_bridge_drift_compares_every_declared_key 143
function test_bridge_cross_check_fails_the_gate_after_a_clean_plan 162
function test_incus_network_get_reads_the_live_daemon 194
function test_cli_writes_the_report_and_exits_zero_on_zero_diff 201
function test_every_declared_container_survives_a_reboot_and_a_lost_image 225 ADR-0077 items 2 and 6 pinned over the REAL root: every incus_instance