* rename, cleanup and document runtest hooks
* factor runner code into pytest_runner plugin * cleanup setupstate handling --HG-- branch : trunk
This commit is contained in:
@@ -59,7 +59,7 @@ class ResultLog(object):
|
||||
testpath = generic_path(node)
|
||||
self.write_log_entry(testpath, shortrepr, longrepr)
|
||||
|
||||
def pytest_itemtestreport(self, rep):
|
||||
def pytest_runtest_logreport(self, rep):
|
||||
code = rep.shortrepr
|
||||
if rep.passed:
|
||||
longrepr = ""
|
||||
|
||||
Reference in New Issue
Block a user