[svn r57455] fixing for changed output

--HG--
branch : trunk
This commit is contained in:
hpk
2008-08-19 07:58:44 +02:00
parent 623ad564ed
commit 39c06d2f6e

View File

@@ -66,7 +66,8 @@ class TestPyTest(AcceptBase):
pass
""")
result = self.runpytest("--collectonly", p)
assert not "".join(result.errlines)
err = "".join(result.errlines)
assert err.strip().startswith("inserting into sys.path")
assert result.ret == 0
extra = assert_lines_contain_lines(result.outlines, py.code.Source("""
<Module 'test_one.py'>