From 0baf5e149988c55da937385aa0a4e40bd23663b5 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Tue, 7 Mar 2017 21:29:46 -0300 Subject: [PATCH] Fix test that expected "unknown hook" error on stderr --- testing/test_helpconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/test_helpconfig.py b/testing/test_helpconfig.py index 6eecbfd37..41fa953ad 100644 --- a/testing/test_helpconfig.py +++ b/testing/test_helpconfig.py @@ -33,7 +33,7 @@ def test_hookvalidation_unknown(testdir): """) result = testdir.runpytest() assert result.ret != 0 - result.stderr.fnmatch_lines([ + result.stdout.fnmatch_lines([ '*unknown hook*pytest_hello*' ])