implement fixture information stored on the parentnode of functions
to be reused by metafunc mechanics and Function setup
This commit is contained in:
+1
-1
@@ -53,7 +53,7 @@ class TestCaseFunction(pytest.Function):
|
||||
_excinfo = None
|
||||
|
||||
def _getfuncargnames(self):
|
||||
return []
|
||||
return ()
|
||||
|
||||
def setup(self):
|
||||
self._testcase = self.parent.obj(self.name)
|
||||
|
||||
Reference in New Issue
Block a user