parent
314d103884
commit
d83db97806
|
@ -179,6 +179,9 @@ class FileCreation(object):
|
|||
if ret is None:
|
||||
ret = p
|
||||
return ret
|
||||
|
||||
def parseconfig(self, *args):
|
||||
return py.test.config._reparse(list(args))
|
||||
|
||||
class InlineCollection(FileCreation):
|
||||
""" helps to collect and run test functions inlining other test functions. """
|
||||
|
@ -192,9 +195,6 @@ class InlineCollection(FileCreation):
|
|||
self.session = self.config.initsession()
|
||||
return self.config.getfsnode(path)
|
||||
|
||||
def parseconfig(self, *args):
|
||||
return py.test.config._reparse(list(args))
|
||||
|
||||
def getitems(self, source):
|
||||
modulecol = self.getmodulecol(source)
|
||||
return modulecol.collect()
|
||||
|
|
Loading…
Reference in New Issue