Public Member Functions | |
def | __init__ |
def | create_success |
def | create_failure |
def | create_error |
def | print_report |
Information about a particular test. Used by _XMLTestResult.
Definition at line 55 of file xmlrunner.py.
def xmlrunner::_TestInfo::__init__ | ( | self, | ||
test, | ||||
time | ||||
) |
Definition at line 63 of file xmlrunner.py.
def xmlrunner::_TestInfo::create_error | ( | test, | ||
time, | ||||
error | ||||
) |
Create a _TestInfo instance for an erroneous test.
Definition at line 82 of file xmlrunner.py.
def xmlrunner::_TestInfo::create_failure | ( | test, | ||
time, | ||||
failure | ||||
) |
Create a _TestInfo instance for a failed test.
Definition at line 75 of file xmlrunner.py.
def xmlrunner::_TestInfo::create_success | ( | test, | ||
time | ||||
) |
Create a _TestInfo instance for a successful test.
Definition at line 70 of file xmlrunner.py.
def xmlrunner::_TestInfo::print_report | ( | self, | ||
stream | ||||
) |
Print information about this test case in XML format to the supplied stream.
Definition at line 88 of file xmlrunner.py.