Orchestrata Ultimate › Tests › Reference › scripts › test_ctok_roundtrip_gate

Tests reference — tests/scripts/test_ctok_roundtrip_gate.py

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

Prose pending.

tests/scripts/test_ctok_roundtrip_gate.py

source · 6 tests · 135 lines

Tests for scripts/ctok_roundtrip_gate.py — P1's binary acceptance gate

Kind Name Line Description
function test_iter_py_files_includes_only_include_dirs_and_py 42
function test_iter_py_files_missing_include_dirs_returns_empty 67
function test_main_all_files_roundtrip 73
function test_main_unreadable_file_is_a_gate_finding 91
function test_main_tokenizer_exception_is_a_gate_finding 106
function test_main_real_repo_tree_is_byte_identical 123 The gate as shipped, against the real tree — its production use.