Orchestrata Ultimate › Tests › Reference › scripts › test_check_native_build_freshness_edges
Tests reference — tests/scripts/test_check_native_build_freshness_edges.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_check_native_build_freshness_edges.py
source · 7 tests · 168 lines
Branch-coverage edge tests for scripts/check_native_build_freshness.py.
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_resolve_extension_returns_none_when_import_is_halted |
47 | sys.modules[name] is None is the interpreter's "import halted" |
| function | test_resolve_extension_returns_none_for_a_specless_module |
63 | A module present in sys.modules with __spec__ is None makes |
| function | test_main_passes_when_no_registered_dir_exists |
83 | Every registered extension absent from the tree: each hits the |
| function | test_main_passes_when_a_registered_dir_has_no_c_sources |
92 | A registered dir holding only Python is not native at all: the |
| function | test_main_fails_when_a_registered_extension_is_unresolvable |
104 | C sources exist but the .so cannot be resolved from this |
| function | test_main_fails_when_the_binary_predates_its_source |
129 | The failure this gate exists for: a C source NEWER than the installed |
| function | test_grade_reports_stale_and_unresolved_together |
145 | _grade collects rather than short-circuits: one stale extension |