Improve test by also matching expected output
This commit is contained in:
@@ -524,3 +524,4 @@ def test_makereport_getsource(testdir):
|
||||
""")
|
||||
result = testdir.runpytest()
|
||||
assert 'INTERNALERROR' not in result.stdout.str()
|
||||
result.stdout.fnmatch_lines(['*else: assert False*'])
|
||||
|
||||
Reference in New Issue
Block a user