added line comparison that is pytest-sugar agnostic.
This commit is contained in:
parent
34db8aed34
commit
74f7efd2a3
|
@ -1092,4 +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 *'])
|
result.stdout.fnmatch_lines(['*1 passed*'])
|
||||||
|
|
Loading…
Reference in New Issue