class documentation

class RemoteTestResult(unittest.TestResult):

View In Hierarchy

Extend unittest.TestResult to record events in the child processes so they can be replayed in the parent process. Events include things like which tests succeeded or failed.
Method __getstate__ Undocumented
Method __init__ Undocumented
Method ​_confirm​_picklable Confirm that obj can be pickled and unpickled as multiprocessing will need to pickle the exception in the child process and unpickle it in the parent process. Let the exception rise, if not.
Method ​_exc​_info​_to​_string Undocumented
Method ​_print​_unpicklable​_subtest Undocumented
Method add​Error Undocumented
Method add​Expected​Failure Undocumented
Method add​Failure Undocumented
Method add​Skip Undocumented
Method add​Sub​Test Undocumented
Method add​Success Undocumented
Method add​Unexpected​Success Undocumented
Method check​_picklable Undocumented
Method check​_subtest​_picklable Undocumented
Method start​Test Undocumented
Method start​Test​Run Undocumented
Method stop​Test Undocumented
Method stop​Test​Run Undocumented
Method was​Successful Tells whether or not this result was a success.
Instance Variable errors Undocumented
Instance Variable events Undocumented
Instance Variable expected​Failures Undocumented
Instance Variable failures Undocumented
Instance Variable skipped Undocumented
Instance Variable unexpected​Successes Undocumented
Property test​_index Undocumented
def __getstate__(self):

Undocumented

def __init__(self, *args, **kwargs):

Undocumented

def _confirm_picklable(self, obj):
Confirm that obj can be pickled and unpickled as multiprocessing will need to pickle the exception in the child process and unpickle it in the parent process. Let the exception rise, if not.
def _exc_info_to_string(self, err, test):

Undocumented

def _print_unpicklable_subtest(self, test, subtest, pickle_exc):

Undocumented

def addError(self, test, err):

Undocumented

def addExpectedFailure(self, test, err):

Undocumented

def addFailure(self, test, err):

Undocumented

def addSkip(self, test, reason):

Undocumented

def addSubTest(self, test, subtest, err):

Undocumented

def addSuccess(self, test):

Undocumented

def addUnexpectedSuccess(self, test):

Undocumented

def check_picklable(self, test, err):

Undocumented

def check_subtest_picklable(self, test, subtest):

Undocumented

def startTest(self, test):

Undocumented

def startTestRun(self):

Undocumented

def stopTest(self, test):

Undocumented

def stopTestRun(self):

Undocumented

def wasSuccessful(self):
Tells whether or not this result was a success.
errors =

Undocumented

events: list =

Undocumented

expectedFailures =

Undocumented

failures =

Undocumented

skipped =

Undocumented

unexpectedSuccesses =

Undocumented

@property
test_index =

Undocumented