added verification that test actually passed.
This commit is contained in:
parent
af54e09759
commit
34db8aed34
|
@ -1092,3 +1092,4 @@ def test_class_injection_does_not_break_collection(testdir):
|
||||||
''')
|
''')
|
||||||
result = testdir.runpytest()
|
result = testdir.runpytest()
|
||||||
assert "RuntimeError: dictionary changed size during iteration" not in result.stdout.str()
|
assert "RuntimeError: dictionary changed size during iteration" not in result.stdout.str()
|
||||||
|
result.stdout.fnmatch_lines(['*== 1 passed in *'])
|
||||||
|
|
Loading…
Reference in New Issue