Orchestrata Ultimate › Tests › Reference › scripts › test_factory_conformance_cli

Tests reference — tests/scripts/test_factory_conformance_cli.py

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

Prose pending.

tests/scripts/test_factory_conformance_cli.py

source · 5 tests · 202 lines

Tests for scripts/factory_conformance.py — the SPEC-033 B2 conformance CLI.

Covers: factory.contracts.models

Kind Name Line Description
function test_check_conformant_exits_zero 50
function test_check_non_conformant_exits_one 77
function test_check_invalid_contract_is_hard_error_distinct_from_non_conformant 102 A malformed contract file is a HARD ERROR (exit 2), not a finding.
function test_check_invalid_contract_schema_version_is_hard_error 120 A structurally-invalid contract (duplicate node ids) is also a hard error.
function test_check_with_edges_file_clears_new_outbound_edge 159