We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7b8ab73 + fed6a0f commit be9f031Copy full SHA for be9f031
1 file changed
test_pytest_rerunfailures.py
@@ -245,6 +245,9 @@ def test_fail():
245
'--reruns-delay', str(delay_time))
246
247
if delay_time < 0:
248
+ result.stdout.fnmatch_lines(
249
+ '*UserWarning: Delay time between re-runs cannot be < 0. '
250
+ 'Using default value: 0')
251
delay_time = 0
252
253
time.sleep.assert_called_with(delay_time)
@@ -266,6 +269,9 @@ def test_fail_two():
266
269
result = testdir.runpytest()
267
270
268
271
272
273
274
275
276
277
0 commit comments