seq  1.1.0
 All Classes Namespaces Files Functions Variables Groups Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
etr.result.TextTestResult Class Reference

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
 

Public Attributes

 stream
 
 failures
 
 errors
 
 tests
 
 time
 

Static Public Attributes

string separator = "-"
 

Detailed Description

Outputs test results as text on a stream.

Constructor & Destructor Documentation

def etr.result.TextTestResult.__init__ (   self,
  stream 
)

Member Function Documentation

def etr.result.TextTestResult.add_result (   self,
  test 
)
def etr.result.TextTestResult.get_description (   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.print_intro (   self)
def etr.result.TextTestResult.print_summary (   self)

Member Data Documentation

etr.result.TextTestResult.errors
etr.result.TextTestResult.failures
string etr.result.TextTestResult.separator = "-"
static
etr.result.TextTestResult.stream
etr.result.TextTestResult.tests
etr.result.TextTestResult.time

The documentation for this class was generated from the following file: