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

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

src/p/l/plexnet-HEAD/third_party/generic/pypy/py/test/pycollect.py   plexnet(Download)
class Module(py.test.collect.File, PyCollectorMixin):
    def _getobj(self):
        return self._memoizedcall('_obj', self._importtestmodule)
 
    def _importtestmodule(self):

src/p/l/plexnet-HEAD/third_party/generic/pypy/py/test/plugin/pytest_restdoc.py   plexnet(Download)
class ReSTFile(py.test.collect.File):
    def __init__(self, fspath, parent, project=None):
        super(ReSTFile, self).__init__(fspath=fspath, parent=parent)
        if project is None:
            project = getproject(fspath)

src/p/l/plexnet-HEAD/third_party/generic/pypy/lib-python/conftest.py   plexnet(Download)
class RunFileExternal(py.test.collect.File):
    def __init__(self, name, parent, regrtest): 
        super(RunFileExternal, self).__init__(name, parent) 
        self.regrtest = regrtest 
        self.fspath = regrtest.getfspath()

src/p/y/pytest-codecheckers-0.2/codecheckers/plugin.py   pytest-codecheckers(Download)
class PyCheckerCollector(py.test.collect.File):
    def __init__(self, path, parent):
        super(PyCheckerCollector, self).__init__(path, parent)
        self.name += '[code-check]'
 

src/o/e/oejskit-0.9.0/oejskit/pytest_jstests.py   oejskit(Download)
class JsFile(py.test.collect.File, BrowsersCollector):
    Child = JsFileSuite
 
    def __init__(self, fspath, parent):
        super(JsFile, self).__init__(fspath, parent)

src/p/y/pytest-yamlwsgi-0.6/pytest_yamlwsgi.py   pytest-yamlwsgi(Download)
import yaml
 
from py.test.collect import File, Collector, Item
 
from werkzeug import Response
class YamlTestFile(File):
    """Custom Container for yaml-based files.
    """
 
    def __init__(self, path, parent):