Improve test by also matching expected output
This commit is contained in:
parent
98dcd764bc
commit
39a297afe6
|
@ -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*'])
|
||||
|
|
Loading…
Reference in New Issue