Orchestrata Ultimate › Tests › Reference › scripts › test_check_source_provenance
Tests reference — tests/scripts/test_check_source_provenance.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_check_source_provenance.py
source · 10 tests · 171 lines
Tests for scripts/check_source_provenance.py — the gate that proves a suite
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_gate_exists_and_is_executable_python |
46 | |
| function | test_passes_when_package_resolves_inside_this_checkout |
50 | The honest case: no PYTHONPATH, the proper (non-editable) install wins, |
| function | test_fails_when_pythonpath_shadows_the_install |
59 | A PYTHONPATH pointing at ANY src/ tree shadows the installed copy — under |
| function | test_fails_when_another_tree_shadows_the_package |
70 | The real defect: a foreign src/ carrying its own copy of the package |
| function | test_failure_output_names_the_shadowing_entry_and_pythonpath |
89 | Diagnosis, not just a verdict — the operator must learn WHY. |
| function | test_shadowing_entries_stops_at_the_expected_source |
108 | Entries AFTER our own src are not shadows — they never win the import. |
| function | test_shadowing_entries_reports_a_preceding_copy |
117 | |
| function | test_shadowing_entries_ignores_paths_without_the_package |
128 | |
| function | test_gate_is_registered_in_run_tests |
153 | RUL-023: a gate that no runner invokes is not a delivery. |
| function | test_cli_help_works |
162 |