added line comparison that is pytest-sugar agnostic.

This commit is contained in:
aselus-hub 2015-12-10 15:10:55 -08:00
parent 34db8aed34
commit 74f7efd2a3
1 changed files with 1 additions and 1 deletions

View File

@ -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*'])