From 8ca85b9c66f6b2271f4ce4e6f1fb1dda9bd54d20 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 8 Jan 2016 12:53:36 +0100 Subject: [PATCH] Also show testprocess output on teardown errors. --- tests/integration/testprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/testprocess.py b/tests/integration/testprocess.py index 3f07acf01..9668f1689 100644 --- a/tests/integration/testprocess.py +++ b/tests/integration/testprocess.py @@ -86,7 +86,7 @@ def _render_log(data, threshold=50): def pytest_runtest_makereport(item, call): """Add qutebrowser/httpbin sections to captured output if a test failed.""" outcome = yield - if call.when != 'call': + if call.when not in ['call', 'teardown']: return report = outcome.get_result()