Orchestrata Ultimate › Tests › Reference › scripts › test_backup_orchgraph

Tests reference — tests/scripts/test_backup_orchgraph.py

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

Prose pending.

tests/scripts/test_backup_orchgraph.py

source · 7 tests · 121 lines

Tests for scripts/backup_orchgraph.sh — the orchgraph snapshot backup.

Kind Name Line Description
function test_syntax_parses 41
function test_refuses_missing_python_loudly 48 A missing interpreter must refuse up front, not fall back to system
function test_rejects_unknown_argument 57
function test_discovery_failure_is_observable 63 The MAIN-discovery loop used to be silent for its whole 180s window.
function test_rejects_relative_data_dir 81 The data directory is spliced into in-container paths, so a relative
function test_rejects_relative_data_dir_from_environment 92
function test_failed_run_reports_its_abort_and_leaves_no_run_directory 100 The original defect: under set -e a failing step ended the run with