Fix test that expected "unknown hook" error on stderr

This commit is contained in:
Bruno Oliveira
2017-03-07 21:29:46 -03:00
parent 83c508eea3
commit 0baf5e1499

View File

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