Orchestrata Ultimate › Tests › Reference › scripts › test_gen_cxp_cli

Tests reference — tests/scripts/test_gen_cxp_cli.py

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

Prose pending.

tests/scripts/test_gen_cxp_cli.py

source · 6 tests · 212 lines

Tests for scripts/gen_cxp.py — the CXP protobuf stub regeneration CLI.

Kind Name Line Description
function test_protoc_runs_in_an_ephemeral_gil_enabled_environment 81 grpcio-tools must NOT be a project dependency.
function test_grpcio_tools_pin_is_exact 99 The pin is load-bearing, not cosmetic.
function test_main_regenerates_stubs_into_sandbox_never_real_tree 120
function test_generated_stub_imports_against_the_pinned_protobuf_runtime 136 The generated module must actually load, not merely exist.
function test_main_output_is_deterministic 179 Regenerating from the identical cxp.proto twice yields byte-identical
function test_main_returns_one_and_prints_stderr_on_protoc_failure 201