* rename, cleanup and document runtest hooks

* factor runner code into pytest_runner plugin
* cleanup setupstate handling

--HG--
branch : trunk
This commit is contained in:
holger krekel
2009-06-08 18:31:10 +02:00
parent 58eba8a9a4
commit d16688a1e6
24 changed files with 211 additions and 183 deletions

View File

@@ -119,7 +119,7 @@ class TestDoctests:
2
""")
reprec = testdir.inline_run(p)
call = reprec.getcall("pytest_itemtestreport")
call = reprec.getcall("pytest_runtest_logreport")
assert call.rep.failed
assert call.rep.longrepr
# XXX