Orchestrata Ultimate › Tests › Reference › scripts › test_repair_divergent_volk_aliases

Tests reference — tests/scripts/test_repair_divergent_volk_aliases.py

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

Prose pending.

tests/scripts/test_repair_divergent_volk_aliases.py

source · 10 tests · 232 lines

Tests for scripts/repair_divergent_volk_aliases.py — the one-shot repair

Covers: core.graph/ (package)

Kind Name Line Description
function test_dry_run_reports_but_writes_nothing 109
function test_apply_repoints_edges_and_deletes_the_duplicate 123
function test_apply_is_idempotent 139
function test_missing_canonical_node_is_skipped_not_deleted 153 Without a canonical counterpart the duplicate may be the only record —
function test_unhandled_edge_type_blocks_the_delete 168 An edge this script cannot re-point means it does not know how to
function test_clean_graph_reports_nothing_to_repair 188
function test_alias_map_covers_only_known_volk_names 200 A name absent from the map is never touched — the map is the whole
function test_configured_uris_prefers_primary_then_worker_keys 210 The default target list is derived from the environment, never from a
function test_configured_uris_empty_when_nothing_is_set 225
function test_main_reports_and_exits_nonzero_without_any_uri 229 No configured instance is a setup error, not a silent success.