Test now looks for real expected output
This commit is contained in:
parent
29fa9d5bff
commit
c03612f729
|
@ -851,8 +851,8 @@ def test_fixture_scope_sibling_conftests(testdir):
|
||||||
res = testdir.runpytest()
|
res = testdir.runpytest()
|
||||||
assert res.ret == 1
|
assert res.ret == 1
|
||||||
|
|
||||||
# TODO Work out what this will really look like. Currently the retcode assertion above fails (as expected).
|
|
||||||
res.stdout.fnmatch_lines([
|
res.stdout.fnmatch_lines([
|
||||||
"collected 2 items / 1 errors",
|
"*ERROR at setup of test_food*",
|
||||||
|
"E*fixture 'fix' not found",
|
||||||
"*1 passed, 1 error*",
|
"*1 passed, 1 error*",
|
||||||
])
|
])
|
||||||
|
|
Loading…
Reference in New Issue