Orchestrata Ultimate › Tests › Reference › scripts › test_check_source_provenance_errors

Tests reference — tests/scripts/test_check_source_provenance_errors.py

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

Prose pending.

tests/scripts/test_check_source_provenance_errors.py

source · 6 tests · 141 lines

Error-path tests for scripts/check_source_provenance.py.

Kind Name Line Description
function test_probe_reports_stderr_when_child_produces_no_stdout 62
function test_probe_reports_no_output_when_child_is_silent 71
function test_probe_reports_non_json_output 80
function test_probe_reads_only_the_last_stdout_line 90 A noisy child (warnings before the JSON) still resolves — the probe
function test_main_fails_when_package_cannot_be_imported 107
function test_main_fails_when_package_has_no_file 126 A namespace package (or an odd loader) yields __file__ is None —