Improve test by also matching expected output

This commit is contained in:
Floris Bruynooghe 2014-08-30 21:57:01 +01:00
parent 98dcd764bc
commit 39a297afe6
1 changed files with 1 additions and 0 deletions

View File

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