[Checkins]
SVN: Sandbox/ulif/z3c-testsetup/trunk/src/z3c/testsetup/README.txt
Clarify.
Uli Fouquet
uli at gnufix.de
Tue Feb 5 10:53:14 EST 2008
Log message for revision 83537:
Clarify.
Changed:
U Sandbox/ulif/z3c-testsetup/trunk/src/z3c/testsetup/README.txt
-=-
Modified: Sandbox/ulif/z3c-testsetup/trunk/src/z3c/testsetup/README.txt
===================================================================
--- Sandbox/ulif/z3c-testsetup/trunk/src/z3c/testsetup/README.txt 2008-02-05 15:26:58 UTC (rev 83536)
+++ Sandbox/ulif/z3c-testsetup/trunk/src/z3c/testsetup/README.txt 2008-02-05 15:53:14 UTC (rev 83537)
@@ -239,6 +239,11 @@
touched by this (they have to be regular Python modules with '.py'
extension).
+ Note, that the `extensions` attribute is used by the default
+ filter function. If you pass your own filter function using
+ `[u|f]filter_func`, then the extensions filtering won't work any
+ more.
+
If we want to register .foo files, we can do so::
>>> test_suite = z3c.testsetup.register_all_tests(
@@ -251,7 +256,7 @@
Note, that only files that contain an appropriate marker are
found, regardless of the filename extension. The new .foo file
contains a marker for unit doctests and functional doctests, such
- it is included in the list.
+ it is included twice in the list.
As we can see, the new file appears twice. This is, because it is
registered as functional doctest and unitdoctest as well.
More information about the Checkins
mailing list