Back to index

python3.2  3.2.2
Classes | Functions | Variables
unittest.test.test_result Namespace Reference

Classes

class  Test_TestResult
class  Test_OldTestResult
class  MockTraceback
class  TestOutputBuffering

Functions

def __init__
def restore_traceback

Variables

tuple classDict = dict(unittest.TestResult.__dict__)
tuple OldResult = type('OldResult', (object,), classDict)
 failures
 errors
 testsRun
 shouldStop
 buffer

Function Documentation

def unittest.test.test_result.__init__ (   self,
  stream = None,
  descriptions = None,
  verbosity = None 
)

Definition at line 303 of file test_result.py.

00303 
00304 def __init__(self, stream=None, descriptions=None, verbosity=None):
00305     self.failures = []
00306     self.errors = []
00307     self.testsRun = 0
00308     self.shouldStop = False
00309     self.buffer = False
00310 
classDict['__init__'] = __init__

Definition at line 370 of file test_result.py.

00370 
00371 def restore_traceback():
00372     unittest.result.traceback = traceback
00373 


Variable Documentation

Definition at line 308 of file test_result.py.

tuple unittest.test.test_result.classDict = dict(unittest.TestResult.__dict__)

Definition at line 298 of file test_result.py.

Definition at line 305 of file test_result.py.

Definition at line 304 of file test_result.py.

Definition at line 311 of file test_result.py.

Definition at line 307 of file test_result.py.

Definition at line 306 of file test_result.py.