Orchestrata Ultimate › Tests › Reference › scripts › test_factory_assumptions_cli

Tests reference — tests/scripts/test_factory_assumptions_cli.py

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

Prose pending.

tests/scripts/test_factory_assumptions_cli.py

source · 17 tests · 602 lines

Tests for scripts/factory_assumptions.py — the SPEC-033 (B13) CLI.

Covers: factory.anchors.models, factory.anchors.source, factory.anchors.store, factory.assumptions.ledger, factory.assumptions.models

Kind Name Line Description
function test_add_prints_assumption_id 56
function test_add_with_requirement_id 83
function test_disclose_and_disclosures_round_trip 111
function test_disclosures_filters_by_design_node 141
function test_list_prints_every_assumption 180
function test_resolve_with_no_adjudicator_yields_needs_human 221
function test_ac_033_c1_04_recurring_assumption_pinned_from_kb_via_cli 257 AC-033-C1-04 end-to-end through the CLI: a stage-3-adjudicated
function test_adjudicate_matched_pins_and_prints_adjudication_id 355
function test_adjudicate_unpinned_needs_no_pinning_flags 407
function test_dor_exits_zero_when_ready 453
function test_dor_exits_one_and_names_blocking_assumption 459
function test_resolve_kb_dir_cli_flag_wins 487
function test_resolve_kb_dir_env_var_used_when_no_cli_flag 494
function test_resolve_kb_dir_defaults_to_repo_factory_kb 501
function test_build_sources_without_anchors_file_has_no_anchor_source 511
function test_build_sources_with_ratified_anchor_is_a_stage_1_candidate 520 AC-033-C1 wiring proof (B15a<->B13 seam): once an anchor is RATIFIED,
function test_resolve_end_to_end_wires_anchor_source_from_kb_dir 556 End-to-end through resolve: an anchors.json sitting alongside the