Back to index

enigmail  1.4.3
Classes | Functions
datatests Namespace Reference

Classes

class  SplitWordsTest
class  GetPatSubstTest
class  LRUTest

Functions

def multitest

Function Documentation

def datatests.multitest (   cls)

Definition at line 6 of file datatests.py.

00006 
00007 def multitest(cls):
00008     for name in cls.testdata.iterkeys():
00009         def m(self, name=name):
00010             return self.runSingle(*self.testdata[name])
00011 
00012         setattr(cls, 'test_%s' % name, m)
00013     return cls