[Zope3-checkins] CVS: Zope3 - test.py:1.100

Jim Fulton jim at zope.com
Thu Apr 15 11:29:35 EDT 2004


Update of /cvs-repository/Zope3
In directory cvs.zope.org:/tmp/cvs-serv517

Modified Files:
	test.py 
Log Message:
Disabled a check for the presense of functional testing support. The
idea was to try to make test.py useful for other systems without
functional tests.  Unfortunately, there are still other issues
preventing use of test.py elsewhere and this check wasn't done 
corectly.  It only worked correctly if the unit tests were run first.


=== Zope3/test.py 1.99 => 1.100 ===
--- Zope3/test.py:1.99	Fri Apr  9 11:15:11 2004
+++ Zope3/test.py	Thu Apr 15 11:29:34 2004
@@ -1031,13 +1031,16 @@
             else:
                 print "Running %s tests at level %d" % (kind, LEVEL)
 
-        if functional:
-            try:
-                from zope.app.tests.functional import FunctionalTestSetup
-            except ImportError:
-                print ('Skipping functional tests: could not import '
-                       'zope.app.tests.functional')
-                continue
+# This was to avoid functional tests outside of z3, but this doesn't really
+# work right.
+##         if functional:
+##             try:
+##                 from zope.app.tests.functional import FunctionalTestSetup
+##             except ImportError:
+##                 raise
+##                 print ('Skipping functional tests: could not import '
+##                        'zope.app.tests.functional')
+##                 continue
 
         # XXX We want to change *visible* warnings into errors.  The next
         # line changes all warnings into errors, including warnings we




More information about the Zope3-Checkins mailing list