parent
4c42bf7f57
commit
95c28265a6
|
@ -100,6 +100,7 @@ class TwistedPlugin:
|
||||||
|
|
||||||
def pytest_pyfunc_call(self, pyfuncitem, *args, **kwargs):
|
def pytest_pyfunc_call(self, pyfuncitem, *args, **kwargs):
|
||||||
if self.twisted:
|
if self.twisted:
|
||||||
|
args = args or pyfuncitem._args # generator tests
|
||||||
# XXX1 kwargs?
|
# XXX1 kwargs?
|
||||||
# XXX2 we want to delegate actual call to next plugin
|
# XXX2 we want to delegate actual call to next plugin
|
||||||
# (which may want to produce test coverage, etc.)
|
# (which may want to produce test coverage, etc.)
|
||||||
|
|
Loading…
Reference in New Issue