Commit df47808
committed
tests: 3 more Windows fixes — pnpm ignore-scripts, security_controls brew, uv tool shim
- test_pnpmprovider.py::test_install_args_win_for_ignore_scripts_and_min_release_age:
same pattern as npm/bun — Windows .cmd wrappers return 0 for the
--ignore-scripts postinstall-missing case but emit the is not
recognized error to stderr. Accept either signal.
- test_security_controls.py::test_nullable_provider_security_fields_resolve_before_handlers_run:
skip the BrewProvider leg on Windows (brew is in
UNIX_ONLY_PROVIDER_NAMES there and its INSTALLER_BINARY lookup
raises BinProviderUnavailableError on hosts without brew, which
is unrelated to what this security-field test is verifying).
- test_uvprovider.py::test_global_tool_mode_can_load_and_uninstall_without_bin_shim:
hardcoded tool_bin_dir / 'cowsay' misses the Windows
cowsay.exe shim. Resolve via bin_abspath which honors
PATHEXT so both POSIX and Windows layouts match.1 parent 7354500 commit df47808
File tree
3 files changed
+25
-10
lines changed- tests
3 files changed
+25
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
39 | 43 | | |
40 | | - | |
| 44 | + | |
41 | 45 | | |
42 | 46 | | |
43 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
574 | | - | |
575 | | - | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
576 | 581 | | |
577 | 582 | | |
578 | 583 | | |
| |||
0 commit comments