[svn r63630] some more code to prepare for substituting the
fixture/runtest code, using more plugins. --HG-- branch : trunk
This commit is contained in:
@@ -17,6 +17,11 @@ class DefaultPlugin:
|
||||
from py.__.test import runner
|
||||
return runner.ItemTestReport(item, excinfo, when, outerr)
|
||||
|
||||
def pyevent__item_runtest_finished(self, item, excinfo, outerr):
|
||||
from py.__.test import runner
|
||||
rep = runner.ItemTestReport(item, excinfo, "execute", outerr)
|
||||
item.config.pytestplugins.notify("itemtestreport", rep)
|
||||
|
||||
def pytest_pyfunc_call(self, pyfuncitem, args, kwargs):
|
||||
pyfuncitem.obj(*args, **kwargs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user