intranet/test/stubs/unittest/runner.pyi

Summary

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

from typing import Any
from . import result
from .signals import registerResult as registerResult

class _WritelnDecorator:
    stream = ...  # type: Any
    def __init__(self, stream): ...
    def __getattr__(self, attr): ...
    def writeln(self, arg=None): ...

class TextTestResult(result.TestResult):
    separator1 = ...  # type: Any
    separator2 = ...  # type: Any
    stream = ...  # type: Any
    showAll = ...  # type: Any
    dots = ...  # type: Any
    descriptions = ...  # type: Any
    def __init__(self, stream, descriptions, verbosity): ...
    def getDescription(self, test): ...
    def startTest(self, test): ...
    def addSuccess(self, test): ...
    def addError(self, test, err): ...
    def addFailure(self, test, err): ...
    def addSkip(self, test, reason): ...
    def addExpectedFailure(self, test, err): ...
    def addUnexpectedSuccess(self, test): ...
    def printErrors(self): ...
    def printErrorList(self, flavour, errors): ...

class TextTestRunner:
    resultclass = ...  # type: Any
    stream = ...  # type: Any
    descriptions = ...  # type: Any
    verbosity = ...  # type: Any
    failfast = ...  # type: Any
    buffer = ...  # type: Any
    tb_locals = ...  # type: Any
    warnings = ...  # type: Any
    def __init__(self, stream=None, descriptions=True, verbosity=1, failfast=False, buffer=False, resultclass=None, warnings=None, *, tb_locals=False): ...
    def run(self, test): ...