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

All Samples(14)  |  Call(0)  |  Derive(13)  |  Import(1)

src/p/l/plexnet-HEAD/third_party/generic/pypy/py/test/pycollect.py   plexnet(Download)
class Function(FunctionMixin, py.test.collect.Item): 
    """ a Function Item is responsible for setting up  
        and executing a Python callable test object.
    """
    _genid = None

src/p/l/plexnet-HEAD/third_party/generic/pypy/py/test/plugin/pytest_restdoc.py   plexnet(Download)
class ReSTSyntaxTest(py.test.collect.Item): 
    def __init__(self, project, *args, **kwargs):
        super(ReSTSyntaxTest, self).__init__(*args, **kwargs)
        self.project = project
 
class DoctestText(py.test.collect.Item): 
    def reportinfo(self):
        return self.fspath, None, "doctest"
 
    def runtest(self): 
class CheckLink(py.test.collect.Item):
    def __init__(self, name, parent, args, checkfunc):
        super(CheckLink, self).__init__(name, parent)
        self.args = args
        self.checkfunc = checkfunc

src/p/l/plexnet-HEAD/third_party/generic/pypy/py/test/plugin/pytest_pylint.py   plexnet(Download)
class PylintItem(py.test.collect.Item):
    def runtest(self):
        capture = py.io.StdCaptureFD()
        try:
            linter = pylint.lint.PyLinter()

src/p/l/plexnet-HEAD/third_party/generic/pypy/py/test/plugin/pytest_doctest.py   plexnet(Download)
class DoctestItem(py.test.collect.Item):
    def __init__(self, path, parent):
        name = self.__class__.__name__ + ":" + path.basename
        super(DoctestItem, self).__init__(name=name, parent=parent)
        self.fspath = path 

src/p/l/plexnet-HEAD/third_party/generic/pypy/lib-python/conftest.py   plexnet(Download)
class ReallyRunFileExternal(py.test.collect.Item): 
    class ExternalFailure(Exception):
        """Failure in running subprocess"""
 
    def getinvocation(self, regrtest): 

src/p/y/pytest-codecheckers-0.2/codecheckers/plugin.py   pytest-codecheckers(Download)
class PyCodeCheckItem(py.test.collect.Item):
    def __init__(self, ep, parent):
        py.test.collect.Item.__init__(self, ep.name, parent)
        self._ep = ep
 

src/k/s/kss.base-0.3/src/kss/base/kukit/3rd_party/johnnydebris.net/jsbase/conftest.py   kss.base(Download)
class JSTest(py.test.collect.Item):
    def run(self):
        path = self.fspath
        test = self.name.split('/')[-1]
        paths = [path.strpath, 

src/k/s/kss.core-1.6.5/kss/core/kukit/3rd_party/johnnydebris.net/jsbase/conftest.py   kss.core(Download)
class JSTest(py.test.collect.Item):
    def run(self):
        path = self.fspath
        test = self.name.split('/')[-1]
        paths = [path.strpath, 

src/p/y/pydoctor-0.5/www/conftest.py   pydoctor(Download)
class TidyChecker(py.test.collect.Item):
 
    def run(self):
        tidy = py.path.local.sysfind('tidy')
        if not tidy:

src/j/i/Jinja-1.2/tests/conftest.py   Jinja(Download)
class JinjaDocTest(py.test.collect.Item):
 
    def run(self):
        mod = py.std.types.ModuleType(self.name)
        mod.__doc__ = self.obj

  1 | 2  Next