speed up a test

This commit is contained in:
holger krekel 2013-12-09 08:14:39 +01:00
parent 66ffc5e0f8
commit 0d7af592c0
1 changed files with 2 additions and 4 deletions

View File

@ -340,10 +340,8 @@ class TestPytestPluginInteractions:
assert hello == "world"
assert 'hello' in py.test.__all__
""")
result = testdir.runpytest(p)
result.stdout.fnmatch_lines([
"*1 passed*"
])
reprec = testdir.inline_run(p)
reprec.assertoutcome(passed=1)
def test_do_option_postinitialize(self, testdir):
config = testdir.parseconfigure()