[Zodb-checkins] CVS: ZODB3/ZEO/tests - ConnectionTests.py:1.50

Jeremy Hylton jeremy at zope.com
Fri Jan 2 13:39:57 EST 2004


Update of /cvs-repository/ZODB3/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv8693/ZEO/tests

Modified Files:
	ConnectionTests.py 
Log Message:
But .zec files in tempdir.


=== ZODB3/ZEO/tests/ConnectionTests.py 1.49 => 1.50 ===
--- ZODB3/ZEO/tests/ConnectionTests.py:1.49	Tue Dec 30 17:22:11 2003
+++ ZODB3/ZEO/tests/ConnectionTests.py	Fri Jan  2 13:39:55 2004
@@ -110,7 +110,8 @@
         for c in self.caches:
             for i in 0, 1:
                 for ext in "", ".trace":
-                    path = "%s-%s.zec%s" % (c, "1", ext)
+                    base = "%s-%s.zec%s" % (c, "1", ext)
+                    path = os.path.join(tempfile.tempdir, base)
                     # On Windows before 2.3, we don't have a way to wait for
                     # the spawned server(s) to close, and they inherited
                     # file descriptors for our open files.  So long as those
@@ -152,6 +153,7 @@
         self.caches.append(cache)
         storage = TestClientStorage(self.addr,
                                     client=cache,
+                                    var=tempfile.tempdir,
                                     cache_size=cache_size,
                                     wait=wait,
                                     min_disconnect_poll=0.1,




More information about the Zodb-checkins mailing list