[Zodb-checkins] CVS: StandaloneZODB/ZODB/tests - testTransaction.py:1.2.46.1

Jeremy Hylton jeremy@zope.com
Fri, 30 Nov 2001 14:07:24 -0500


Update of /cvs-repository/StandaloneZODB/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv15053

Modified Files:
      Tag: StandaloneZODB-1_0-branch
	testTransaction.py 
Log Message:
Merge changes from the trunk.

The primary change is the way the copyright notice is formatted.


=== StandaloneZODB/ZODB/tests/testTransaction.py 1.2 => 1.2.46.1 ===
 
     def checkMultipleCommits(self, subtrans=None):
+        print
+        print
         a = self.root["a"] = MinPO("a")
+        print 1, self.root, `self.root.__dict__`
         get_transaction().commit(subtrans)
+        print 2, `self.root.__dict__`
+        print 2, self.root, `self.root.__dict__`
         a.extra_attr = MinPO("b")
+        print 3, self.root, `self.root.__dict__`
         get_transaction().commit(subtrans)
+        print 4, self.root, `self.root.__dict__`
         del a
         assert self.root["a"].value == "a"
         assert self.root["a"].extra_attr == MinPO("b")
@@ -60,8 +67,8 @@
         obj.root = self.root
         meth = getattr(obj, meth_name)
         meth(1)
-        get_transaction().commit()
-
+        get_transaction().commit() 
+                            
     checkSubSingleCommit = lambda self:\
                            self.wrap_test(BasicTests, "checkSingleCommit")