Ejemplo n.º 1
0
 def __call__(self, testcase, *args):
     # ... only if it takes an arg
     self._helper = testcase
     util.call_with_args_if_expected(self.func, testcase, *args)
Ejemplo n.º 2
0
 def tearDown(cls):
     for func in cls.teardowns:
         util.call_with_args_if_expected(func, self)
Ejemplo n.º 3
0
 def setUp(cls):
     for func in cls.setups:
         util.call_with_args_if_expected(func, self)
Ejemplo n.º 4
0
Archivo: such.py Proyecto: hugovk/nose2
 def __call__(self, testcase, *args):
     # ... only if it takes an arg
     self._helper = testcase
     util.call_with_args_if_expected(self.func, testcase, *args)
Ejemplo n.º 5
0
Archivo: such.py Proyecto: hugovk/nose2
 def tearDown(cls):
     for func in cls.teardowns:
         util.call_with_args_if_expected(func, self)
Ejemplo n.º 6
0
Archivo: such.py Proyecto: hugovk/nose2
 def setUp(cls):
     for func in cls.setups:
         util.call_with_args_if_expected(func, self)