File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 60
60
" --capture=no"
61
61
" -k"
62
62
" -m"
63
- " --mypy" ))
63
+ " --mypy"
64
+ " --exitfirst" ))
64
65
65
66
(defun test-cockpit-python--test-project-command (_ args )
66
67
" Make the test project command from ARGS."
143
144
[[" Switches"
144
145
(" -k" test-cockpit-python--restrict-substring)
145
146
(" -f" " only lastly failed tests" " --last-failed" )
147
+ (" -x" " exit after first fail" " --exitfirst" )
146
148
(" -b" " build extensions before testing" " build_ext" )
147
149
(" -m" test-cockpit-python--marker-switch)
148
150
(" -M" " test type hints" " --mypy" )]
Original file line number Diff line number Diff line change @@ -393,9 +393,10 @@ async def test_first_outer():
393
393
(should (equal (aref (aref infix 0 ) 0 ) " Switches" ))
394
394
(should (equal (car (aref (aref infix 0 ) 1 )) " -k" ))
395
395
(should (equal (aref (aref infix 0 ) 2 ) '(" -f" " only lastly failed tests" " --last-failed" )))
396
- (should (equal (aref (aref infix 0 ) 3 ) '(" -b" " build extensions before testing" " build_ext" )))
397
- (should (equal (car (aref (aref infix 0 ) 4 )) " -m" ))
398
- (should (equal (aref (aref infix 0 ) 5 ) '(" -M" " test type hints" " --mypy" )))
396
+ (should (equal (aref (aref infix 0 ) 3 ) '(" -x" " exit after first fail" " --exitfirst" )))
397
+ (should (equal (aref (aref infix 0 ) 4 ) '(" -b" " build extensions before testing" " build_ext" )))
398
+ (should (equal (car (aref (aref infix 0 ) 5 )) " -m" ))
399
+ (should (equal (aref (aref infix 0 ) 6 ) '(" -M" " test type hints" " --mypy" )))
399
400
(should (equal (aref (aref infix 1 ) 0 ) " Output" ))
400
401
(should (equal (aref (aref infix 1 ) 1 ) '(" -v" " show single tests" " --verbose" )))
401
402
(should (equal (aref (aref infix 1 ) 2 ) '(" -V" " verbose output" " -vv" )))
You can’t perform that action at this time.
0 commit comments