[Zope-Checkins] CVS: Zope3 - test.py:1.1.2.4

Jeremy Hylton jeremy@zope.com
Mon, 4 Mar 2002 17:21:21 -0500


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

Modified Files:
      Tag: Zope-3x-branch
	test.py 
Log Message:
Don't add ZopeLegacy or ZopeLegacy/ExtensionClass to sys.path.
Remove check_spread().  Leftover from StandbyStorage version of this code.



=== Zope3/test.py 1.1.2.3 => 1.1.2.4 ===
                                    self.verbosity)
 
-def check_spread():
-    try:
-        import spread
-    except ImportError, msg:
-        print "ImportError:", msg
-        print "Can't import spread.  Forget about running tests."
-        sys.exit(1)
-    try:
-        mbox = spread.connect()
-        mbox.disconnect()
-    except spread.error, msg:
-        print "spread.error:", msg
-        print "Can't use spread.  Forget about running tests."
-        sys.exit(1)
-
 # setup list of directories to put on the path
 
 def setup_path():
     DIRS = [join('lib','python'),
-            join('lib','python','ZopeLegacy'),
-            join('lib','python','ZopeLegacy','ExtensionClass')
             ]
     cwd = os.getcwd()
     for d in DIRS: