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

All Samples(11)  |  Call(2)  |  Derive(9)  |  Import(0)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/conftest.py   plexnet(Download)
            elif name.startswith('ExpectTest'):
                if option.rundirect:
                    return py.test.collect.Class(name, parent=self)
                return ExpectClassCollector(name, parent=self)
            # XXX todo
class PyPyClassCollector(py.test.collect.Class):
    def setup(self):
        cls = self.obj 
        cls.space = LazyObjSpaceGetter()
        super(PyPyClassCollector, self).setup() 
class ExpectClassCollector(py.test.collect.Class):
    Instance = ExpectClassInstance
 
    def setup(self):
        super(ExpectClassCollector, self).setup()

src/s/y/Sypy-HEAD/conftest.py   Sypy(Download)
            elif name.startswith('ExpectTest'):
                if self.config.option.rundirect:
                    return py.test.collect.Class(name, parent=self)
                return ExpectClassCollector(name, parent=self)
            # XXX todo
class PyPyClassCollector(py.test.collect.Class):
    def setup(self):
        cls = self.obj
        if not hasattr(cls, 'spaceconfig'):
            cls.space = LazyObjSpaceGetter()
class ExpectClassCollector(py.test.collect.Class):
    Instance = ExpectClassInstance
 
    def setup(self):
        super(ExpectClassCollector, self).setup()

src/p/l/plexnet-HEAD/third_party/generic/pypy/py/test/plugin/pytest_unittest.py   plexnet(Download)
class UnitTestCase(py.test.collect.Class):
    def collect(self):
        return [UnitTestCaseInstance("()", self)]
 
    def setup(self):

src/m/o/moingo-HEAD/MoinMoin/conftest.py   moingo(Download)
class MoinClassCollector(py.test.collect.Class):
    Function = MoinTestFunction
 
    def setup(self):
        cls = self.obj

src/h/t/HTPC-Manager-HEAD/libs/sqlobject/conftest.py   HTPC-Manager(Download)
class SQLObjectClass(py.test.collect.Class):
    def run(self):
        if (isinstance(self.obj, type)
            and issubclass(self.obj, sqlobject.SQLObject)):
            return []

src/s/q/SQLObject-1.6.0b1dev-r4713/sqlobject/conftest.py   SQLObject(Download)
class SQLObjectClass(py.test.collect.Class):
    def run(self):
        if (isinstance(self.obj, type)
            and issubclass(self.obj, sqlobject.SQLObject)):
            return []

src/o/e/oejskit-0.9.0/oejskit/pytest_jstests.py   oejskit(Download)
class ClassWithBrowser(py.test.collect.Class):
 
    def __init__(self, name, parent, browserKind):
        super(ClassWithBrowser, self).__init__(name, parent)
        self.obj = parent.obj