make test suite more tolerable against xdist causing warnings itself (which it does

currently)

--HG--
branch : plugtestfix
This commit is contained in:
holger krekel
2015-04-27 15:06:47 +02:00
parent 2d8f115d8c
commit 424e5d1394
7 changed files with 17 additions and 20 deletions

View File

@@ -339,9 +339,7 @@ def test_SkipTest_during_collection(testdir):
assert False
""")
result = testdir.runpytest(p)
outcome = result.parseoutcomes()
outcome.pop('seconds')
assert outcome == dict(skipped=1)
result.assertoutcome(skipped=1)
def test_SkipTest_in_test(testdir):