added verification that test actually passed.

This commit is contained in:
aselus-hub
2015-12-10 15:02:57 -08:00
parent af54e09759
commit 34db8aed34

View File

@@ -1092,3 +1092,4 @@ def test_class_injection_does_not_break_collection(testdir):
''')
result = testdir.runpytest()
assert "RuntimeError: dictionary changed size during iteration" not in result.stdout.str()
result.stdout.fnmatch_lines(['*== 1 passed in *'])