Back to index

enigmail  1.4.3
Classes | Functions
parsertests Namespace Reference

Classes

class  TestBase
class  DataTest
class  LineEnumeratorTest
class  IterTest
class  MakeSyntaxTest
class  VariableTest
class  SimpleRuleTest

Functions

def multitest

Function Documentation

def parsertests.multitest (   cls)

Definition at line 7 of file parsertests.py.

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

Here is the caller graph for this function: