Fix test that expected "unknown hook" error on stderr
This commit is contained in:
parent
83c508eea3
commit
0baf5e1499
|
@ -33,7 +33,7 @@ def test_hookvalidation_unknown(testdir):
|
||||||
""")
|
""")
|
||||||
result = testdir.runpytest()
|
result = testdir.runpytest()
|
||||||
assert result.ret != 0
|
assert result.ret != 0
|
||||||
result.stderr.fnmatch_lines([
|
result.stdout.fnmatch_lines([
|
||||||
'*unknown hook*pytest_hello*'
|
'*unknown hook*pytest_hello*'
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue