Fix test that expected "unknown hook" error on stderr
This commit is contained in:
@@ -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*'
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user