Commit 54634ba
Fix Windows CI: use a real temp file for the mutex test
`test_cli_simulate_rejects_both_modes` was passing /dev/null as a
placeholder file. Click validates --payload-file with exists=True
before the command body runs, so on Windows CI the test bailed with
"File '/dev/null' does not exist" before ever reaching the mutual-
exclusion error it was checking for.
Use tmp_path to get a real existing file. macOS/Linux already passed.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 1ab7eba commit 54634ba
1 file changed
Lines changed: 9 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
320 | 320 | | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
324 | 331 | | |
325 | 332 | | |
326 | 333 | | |
| |||
332 | 339 | | |
333 | 340 | | |
334 | 341 | | |
335 | | - | |
| 342 | + | |
336 | 343 | | |
337 | 344 | | |
338 | 345 | | |
| |||
0 commit comments