Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(0)  |  Derive(6)  |  Import(0)

src/s/y/Sypy-HEAD/conftest.py   Sypy(Download)
class IntInstanceCollector(py.test.collect.Instance):
    Function = IntTestFunction
 
class IntClassCollector(PyPyClassCollector):
    Instance = IntInstanceCollector
class AppClassInstance(py.test.collect.Instance):
    Function = AppTestMethod
 
    def setup(self):
        super(AppClassInstance, self).setup()
class ExpectClassInstance(py.test.collect.Instance):
    Function = ExpectTestMethod
 
class ExpectClassCollector(py.test.collect.Class):
    Instance = ExpectClassInstance

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/conftest.py   plexnet(Download)
class AppClassInstance(py.test.collect.Instance): 
    Function = AppTestMethod 
 
    def setup(self): 
        super(AppClassInstance, self).setup()         
class ExpectClassInstance(py.test.collect.Instance):
    Function = ExpectTestMethod
 
class ExpectClassCollector(py.test.collect.Class):
    Instance = ExpectClassInstance

src/p/l/plexnet-HEAD/third_party/generic/pypy/py/test/plugin/pytest_unittest.py   plexnet(Download)
class UnitTestCaseInstance(py.test.collect.Instance):
    def collect(self):
        loader = py.std.unittest.TestLoader()
        names = loader.getTestCaseNames(self.obj.__class__)
        l = []