Orchestrata Ultimate › Tests › Reference › scripts › test_verify_package
Tests reference — tests/scripts/test_verify_package.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_verify_package.py
source · 20 tests · 322 lines
Tests for scripts/verify_package.py — the trust-but-sample verifier
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_parse_refs_summary_extracts_counts |
43 | |
| function | test_parse_refs_summary_missing_line_is_zero |
49 | |
| function | test_symbols_gone_fails_when_symbol_remains |
54 | |
| function | test_symbols_gone_passes_when_absent |
70 | |
| function | test_symbols_gone_reports_a_real_ast_tool_error |
83 | Regression for F4: an AST refs invocation that really ERRORS |
| function | test_check_symbols_gone_missing_summary_line_fails |
104 | Regression for F4: a refs invocation that exits 0/1 but never |
| function | test_grep_gone_detects_leftover_pattern |
123 | |
| function | test_grep_gone_passes_when_absent |
133 | |
| function | test_grep_gone_reports_a_real_grep_error |
140 | A nonexistent path really makes grep exit 2 -- exercised for real, |
| function | test_ruff_dirty_file_fails |
157 | |
| function | test_ruff_touched_overrides_paths |
169 | --touched scopes ruff even though --paths is wider (and dirty). |
| function | test_import_check_passes_for_real_package |
186 | |
| function | test_import_check_fails_for_broken_module |
195 | |
| function | test_full_pytest_target_pass_and_fail |
210 | |
| function | test_run_checks_full_wired_through |
225 | |
| function | test_print_table_handles_empty_rows |
240 | |
| function | test_print_table_renders_all_rows |
247 | |
| function | test_run_helper_reports_real_timeout |
255 | _run's own TimeoutExpired-normalization branch, exercised |
| function | test_cli_subprocess_end_to_end_pass |
272 | |
| function | test_cli_subprocess_fail_fast_shows_skip_rows |
297 |