From c03612f729a81f60002b540cc1b1310f4fa94752 Mon Sep 17 00:00:00 2001 From: Tom Dalton Date: Mon, 23 Oct 2017 12:40:32 +0100 Subject: [PATCH] Test now looks for real expected output --- testing/test_collection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/test_collection.py b/testing/test_collection.py index f15e4925c..49a290060 100644 --- a/testing/test_collection.py +++ b/testing/test_collection.py @@ -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*", ])