Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes
unittest.test.test_case.Test.LoggingTestCase Class Reference

List of all members.

Public Member Functions

def __init__
def setUp
def test
def tearDown

Public Attributes

 events

Detailed Description

A test case which logs its calls.

Definition at line 30 of file test_case.py.


Constructor & Destructor Documentation

Definition at line 33 of file test_case.py.

00033 
00034         def __init__(self, events):
00035             super(Test.LoggingTestCase, self).__init__('test')
00036             self.events = events

Here is the caller graph for this function:


Member Function Documentation

Definition at line 37 of file test_case.py.

00037 
00038         def setUp(self):
00039             self.events.append('setUp')

Definition at line 43 of file test_case.py.

00043 
00044         def tearDown(self):
00045             self.events.append('tearDown')
00046 

Definition at line 40 of file test_case.py.

00040 
00041         def test(self):
00042             self.events.append('test')

Here is the caller graph for this function:


Member Data Documentation

Definition at line 35 of file test_case.py.


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