Orchestrata Ultimate › Tests › Reference › scripts › test_gen_cxp_guards

Tests reference — tests/scripts/test_gen_cxp_guards.py

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

Prose pending.

tests/scripts/test_gen_cxp_guards.py

source · 2 tests · 119 lines

Tests for scripts/gen_cxp.py — the main() environment guards.

Kind Name Line Description
function test_main_fails_with_rc1_and_stderr_guidance_when_uv_not_on_path 51 shutil.which("uv") is None must abort before touching anything.
function test_main_fails_with_rc1_and_stderr_guidance_when_protoc_python_missing 97 A missing GIL-enabled interpreter must abort with rc 1 + guidance.