[Zope3-checkins] CVS: Zope3/src/zodbcode/tests - test_class.py:1.2

Tim Peters tim.one at comcast.net
Wed Apr 14 17:32:15 EDT 2004


Update of /cvs-repository/Zope3/src/zodbcode/tests
In directory cvs.zope.org:/tmp/cvs-serv17708/src/zodbcode/tests

Modified Files:
	test_class.py 
Log Message:
_load_path():  at least testUpdateInPlace implicitly relied on that
a connection retains stale data across a commit when nothing has
changed, so pass the new synch=False arg to db.open() to preserve
that just-changed behavior.


=== Zope3/src/zodbcode/tests/test_class.py 1.1 => 1.2 ===
--- Zope3/src/zodbcode/tests/test_class.py:1.1	Fri Feb 20 17:02:24 2004
+++ Zope3/src/zodbcode/tests/test_class.py	Wed Apr 14 17:32:14 2004
@@ -30,7 +30,7 @@
 
     def _load_path(self, path):
         # Load an object from a new connection given a database path.
-        root = self.db.open().root()
+        root = self.db.open(synch=False).root()
         obj = root
         for part in path.split("."):
             try:




More information about the Zope3-Checkins mailing list