From 39a297afe64982290d0ebdc7be218f1734e1c3cf Mon Sep 17 00:00:00 2001 From: Floris Bruynooghe Date: Sat, 30 Aug 2014 21:57:01 +0100 Subject: [PATCH] Improve test by also matching expected output --- testing/test_runner.py | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/test_runner.py b/testing/test_runner.py index d341950e5..9a13a6b47 100644 --- a/testing/test_runner.py +++ b/testing/test_runner.py @@ -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*'])