Test now looks for real expected output

This commit is contained in:
Tom Dalton 2017-10-23 12:40:32 +01:00
parent 29fa9d5bff
commit c03612f729
1 changed files with 2 additions and 2 deletions

View File

@ -851,8 +851,8 @@ def test_fixture_scope_sibling_conftests(testdir):
res = testdir.runpytest()
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([
"collected 2 items / 1 errors",
"*ERROR at setup of test_food*",
"E*fixture 'fix' not found",
"*1 passed, 1 error*",
])