[Checkins]
SVN: Sandbox/ulif/z3c-testsetup/trunk/src/z3c/testsetup/testing.py
Modify python testsetup API.
Uli Fouquet
uli at gnufix.de
Wed Feb 13 06:36:06 EST 2008
Log message for revision 83782:
Modify python testsetup API.
Changed:
U Sandbox/ulif/z3c-testsetup/trunk/src/z3c/testsetup/testing.py
-=-
Modified: Sandbox/ulif/z3c-testsetup/trunk/src/z3c/testsetup/testing.py
===================================================================
--- Sandbox/ulif/z3c-testsetup/trunk/src/z3c/testsetup/testing.py 2008-02-13 09:13:28 UTC (rev 83781)
+++ Sandbox/ulif/z3c-testsetup/trunk/src/z3c/testsetup/testing.py 2008-02-13 11:36:06 UTC (rev 83782)
@@ -45,9 +45,9 @@
'^\s*:(T|t)est-(L|l)ayer:\s*(python)\s*',
]
- def __init__(self, package, filter_func=None):
+ def __init__(self, package, pfilter_func=None):
BasicTestSetup.__init__(self, package)
- self.filter_func = filter_func or self.isTestModule
+ self.pfilter_func = pfilter_func or self.isTestModule
def docstrContains(self, docstr, regexp_list):
"""Does a docstring contain lines matching every of the regular
@@ -87,7 +87,7 @@
result.extend(self.getModules(submod_info.getModule()))
else:
module = submod_info.getModule()
- if self.filter_func(module):
+ if self.pfilter_func(module):
result.append(module)
return result
More information about the Checkins
mailing list