Orchestrata Ultimate › Tests › Reference › scripts › test_worktrees_provision
Tests reference — tests/scripts/test_worktrees_provision.py
Module of tests/scripts, split out because the directory page would be too large.
Prose pending.
tests/scripts/test_worktrees_provision.py
source · 30 tests · 766 lines
Provisioning and proof-path tests for scripts/worktrees.py.
| Kind | Name | Line | Description |
|---|---|---|---|
| function | test_copy_untracked_config_copies_env_skips_map_and_links_wheels |
134 | |
| function | test_copy_untracked_config_notes_missing_env_and_skips_absent_files |
164 | |
| function | test_foreign_shebang_scripts_skips_dirs_unreadable_and_bare_shebangs |
182 | |
| function | test_provision_env_full_success_all_proofs_pass |
201 | |
| function | test_provision_env_uv_sync_failure_returns_1 |
217 | |
| function | test_provision_env_provenance_failure_when_package_not_importable |
230 | |
| function | test_provision_env_gil_failure_without_msgpack |
242 | |
| function | test_provision_env_primary_venv_poisoned_returns_1 |
255 | |
| function | test_cmd_provision_refuses_non_worktree |
277 | |
| function | test_cmd_provision_success_on_existing_worktree |
286 | |
| function | test_cmd_create_with_env_provisions_and_proves |
298 | |
| function | test_list_reports_detached_worktree |
321 | |
| function | test_gc_keeps_merge_proven_but_dirty_worktree |
330 | |
| function | test_gc_quiet_suppresses_keep_reasons |
350 | |
| function | test_gc_reports_no_linked_worktrees |
361 | |
| function | test_merged_via_merge_commit_false_for_unmerged_branch |
373 | |
| function | test_ahead_behind_returns_zero_pair_for_unknown_branch |
383 | |
| function | test_pin_system_toolchain_applies_the_declaration_and_drops_include_paths |
409 | |
| function | test_pin_system_toolchain_overrides_an_inherited_bare_cc |
434 | .envrc exported CC=gcc until 2026-10-11, and the old pin left it in |
| function | test_pin_system_toolchain_logs_one_line_naming_the_declaration |
458 | |
| function | test_pin_system_toolchain_reads_the_tracked_declaration_by_default |
474 | No seam set: the declaration is env/toolchain.env of the checkout the |
| function | test_declared_toolchain_returns_the_declared_swipl |
488 | ADR-0091: SWIPL is a declared toolchain key, read and validated |
| function | test_pin_system_toolchain_exports_the_declared_swipl_unresolved |
499 | The tracked declaration's SWIPL is the Guix PROFILE link, exported |
| function | test_pin_system_toolchain_refuses_an_unusable_declaration |
550 | |
| function | test_lock_path_packages_finds_only_local_sources |
573 | |
| function | test_check_locked_packages_importable_fails_loud_naming_package_and_venv |
620 | |
| function | test_check_locked_packages_importable_passes_for_real_importable_module |
645 | |
| function | test_check_locked_packages_importable_returns_zero_when_no_lock_file |
668 | |
| function | test_cmd_provision_pins_toolchain_when_guix_gcc_shadows_system |
693 | A Guix-shaped gcc leads PATH and C_INCLUDE_PATH leaks: neither |
| function | test_provision_env_fails_loud_when_locked_path_package_not_importable |
730 | Goal (2), wired: _provision_env itself refuses to call the sync a |