tests: unittest: fix/harden "test_exit_outcome"
Ref: https://github.com/pytest-dev/pytest/pull/5634#pullrequestreview-265565917
This commit is contained in:
parent
2a724a1c81
commit
401c3d1109
|
@ -1085,4 +1085,4 @@ def test_exit_outcome(testdir):
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
result = testdir.runpytest()
|
result = testdir.runpytest()
|
||||||
result.stdout.fnmatch_lines("*Exit: pytest_exit called*")
|
result.stdout.fnmatch_lines(["*Exit: pytest_exit called*", "*= no tests ran in *"])
|
||||||
|
|
Loading…
Reference in New Issue