Home | History | Annotate | Download | only in python

Lines Matching defs:Func

1112 class Func(Comparator):
1126 mock_dao.DoSomething(Func(myParamValidator), true)
1129 def __init__(self, func):
1133 func: callable that takes one parameter and returns a bool
1136 self._func = func
1141 rhs is passed into func.
1147 the result of func(rhs)
1353 for func_name, func in d.items():
1354 if func_name.startswith('test') and callable(func):
1355 setattr(cls, func_name, MoxMetaTestBase.CleanUpTest(cls, func))
1358 def CleanUpTest(cls, func):
1366 func: method; the method of the MoxTestBase test class we wish to alter.
1377 func(self, *args, **kwargs)
1383 new_method.__name__ = func.__name__
1384 new_method.__doc__ = func.__doc__
1385 new_method.__module__ = func.__module__