[Zope3-checkins] CVS: Zope3 - test.py:1.84
Marius Gedminas
marius at pov.lt
Tue Feb 17 13:44:15 EST 2004
Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv23327
Modified Files:
test.py
Log Message:
Fixed a buglet in the test runner that caused it to run unit tests from
tests.py when it should have run functional tests from ftests.py.
Added a note to doc/FTEST.txt saying that functional tests are incompatible
with the CleanUp helper.
Fixed a typo in placelesssetup.py
=== Zope3/test.py 1.83 => 1.84 ===
--- Zope3/test.py:1.83 Wed Jan 21 10:41:59 2004
+++ Zope3/test.py Tue Feb 17 13:43:44 2004
@@ -421,9 +421,10 @@
def visit(self, rx, dir, files):
if os.path.split(dir)[1] != self.dirname:
- # Allow tests module rather than package.
- if "tests.py" in files:
- path = os.path.join(dir, "tests.py")
+ # Allow tests/ftests module rather than package.
+ modfname = self.dirname + '.py'
+ if modfname in files:
+ path = os.path.join(dir, modfname)
if match(rx, path):
self.files.append(path)
return
More information about the Zope3-Checkins
mailing list