class documentation

class _TestInfo(object):

Constructor: _TestInfo(test, time)

View In Hierarchy

Information about a particular test.

Used by _XMLTestResult.

Static Method create_error Create a _TestInfo instance for an erroneous test.
Static Method create_failure Create a _TestInfo instance for a failed test.
Static Method create_success Create a _TestInfo instance for a successful test.
Method __init__ Undocumented
Method print_report Print information about this test case in XML format to the supplied stream.
Method print_report_text Undocumented
Method xml Create an XML tag with information about this test case.
Method _print_error Append an XML tag with information from a failure or error to the supplied testcase.
Method _print_error_text Print information from a failure or error to the supplied stream.
Instance Variable _class Undocumented
Instance Variable _error Undocumented
Instance Variable _failure Undocumented
Instance Variable _method Undocumented
Instance Variable _time Undocumented
@staticmethod
def create_error(test, time, error):

Create a _TestInfo instance for an erroneous test.

@staticmethod
def create_failure(test, time, failure):

Create a _TestInfo instance for a failed test.

@staticmethod
def create_success(test, time):

Create a _TestInfo instance for a successful test.

def __init__(self, test, time):

Undocumented

def print_report(self, stream):

Print information about this test case in XML format to the supplied stream.

def print_report_text(self, stream):

Undocumented

def xml(self):

Create an XML tag with information about this test case.

def _print_error(self, testcase, tagname, error):

Append an XML tag with information from a failure or error to the supplied testcase.

def _print_error_text(self, stream, tagname, error):

Print information from a failure or error to the supplied stream.

_class =

Undocumented

_error =

Undocumented

_failure =

Undocumented

_method =

Undocumented

_time =

Undocumented