Outputs test results as text on a stream. More...
Public Member Functions | |
def | __init__ |
def | has_failures |
Returns True if any test has failed else False. More... | |
def | get_description |
def | get_result_str |
def | add_result |
def | print_intro |
def | print_summary |
def | __init__ |
def | has_failures |
Returns True if any test has failed else False. More... | |
def | get_description |
def | get_result_str |
def | add_result |
def | print_intro |
def | print_summary |
Public Attributes | |
stream | |
failures | |
errors | |
tests | |
time | |
Static Public Attributes | |
string | separator = "-" |
Outputs test results as text on a stream.
def etr.result.TextTestResult.__init__ | ( | self, | |
stream | |||
) |
def etr.result.TextTestResult.__init__ | ( | self, | |
stream | |||
) |
def etr.result.TextTestResult.add_result | ( | self, | |
test | |||
) |
def etr.result.TextTestResult.add_result | ( | self, | |
test | |||
) |
def etr.result.TextTestResult.get_description | ( | self, | |
test | |||
) |
def etr.result.TextTestResult.get_description | ( | self, | |
test | |||
) |
def etr.result.TextTestResult.get_result_str | ( | self, | |
test | |||
) |
def etr.result.TextTestResult.get_result_str | ( | self, | |
test | |||
) |
def etr.result.TextTestResult.has_failures | ( | self | ) |
Returns True if any test has failed else False.
def etr.result.TextTestResult.has_failures | ( | self | ) |
Returns True if any test has failed else False.
def etr.result.TextTestResult.print_intro | ( | self | ) |
def etr.result.TextTestResult.print_intro | ( | self | ) |
def etr.result.TextTestResult.print_summary | ( | self | ) |
def etr.result.TextTestResult.print_summary | ( | self | ) |
etr.result.TextTestResult.errors |
etr.result.TextTestResult.failures |
|
static |
etr.result.TextTestResult.stream |
etr.result.TextTestResult.tests |
etr.result.TextTestResult.time |