Back to index

python3.2  3.2.2
Classes | Functions | Variables
test.test_class Namespace Reference

Classes

class  ClassTests

Functions

def trackCall
def test_main

Variables

list testmeths
list callLst = []
string statictests
string method_template
dictionary d = {}
tuple AllTests = type("AllTests", (object,), d)

Function Documentation

Definition at line 548 of file test_class.py.

00548 
00549 def test_main():
00550     support.run_unittest(ClassTests)

Definition at line 63 of file test_class.py.

00063 
00064 def trackCall(f):
00065     def track(*args, **kwargs):
00066         callLst.append((f.__name__, args))
00067         return f(*args, **kwargs)
00068     return track


Variable Documentation

tuple test.test_class.AllTests = type("AllTests", (object,), d)

Definition at line 131 of file test_class.py.

Definition at line 62 of file test_class.py.

Definition at line 127 of file test_class.py.

Initial value:
00001 """\
00002 @trackCall
00003 def __%s__(self, *args):
00004     pass
00005 """

Definition at line 121 of file test_class.py.

Definition at line 69 of file test_class.py.

Definition at line 7 of file test_class.py.