intranet/test/stubs/unittest/loader.pyi

Summary

Maintainability
Test Coverage
# Stubs for unittest.loader (Python 3.5)
#
# NOTE: This dynamically typed stub was automatically generated by stubgen.

from typing import Any
from . import case

VALID_MODULE_NAME = ...  # type: Any

class _FailedTest(case.TestCase):
    def __init__(self, method_name, exception): ...
    def __getattr__(self, name): ...

class TestLoader:
    testMethodPrefix = ...  # type: Any
    sortTestMethodsUsing = ...  # type: Any
    suiteClass = ...  # type: Any
    errors = ...  # type: Any
    def __init__(self): ...
    def loadTestsFromTestCase(self, testCaseClass): ...
    def loadTestsFromModule(self, module, *args, *, pattern=None, **kws): ...
    def loadTestsFromName(self, name, module=None): ...
    def loadTestsFromNames(self, names, module=None): ...
    def getTestCaseNames(self, testCaseClass): ...
    def discover(self, start_dir, pattern='', top_level_dir=None): ...

defaultTestLoader = ...  # type: Any

def getTestCaseNames(testCaseClass, prefix, sortUsing=...): ...
def makeSuite(testCaseClass, prefix='', sortUsing=..., suiteClass=...): ...
def findTestCases(module, prefix='', sortUsing=..., suiteClass=...): ...