[Zodb-checkins] CVS: ZODB3/ZEO/tests - test_cache.py:1.1.2.4

Jeremy Hylton cvs-admin at zope.org
Tue Nov 11 16:45:50 EST 2003


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

Modified Files:
      Tag: ZODB3-mvcc-2-branch
	test_cache.py 
Log Message:
Improvements to serialization code.

Store the last tid (self.tid) in the file.
Handle reading non-current data.
Implement contents() using a different strategy.
Fix Q -> 8s.
Change the DLL to return None instead of False for objects that aren't
in the cache.


=== ZODB3/ZEO/tests/test_cache.py 1.1.2.3 => 1.1.2.4 ===
--- ZODB3/ZEO/tests/test_cache.py:1.1.2.3	Tue Nov 11 10:32:37 2003
+++ ZODB3/ZEO/tests/test_cache.py	Tue Nov 11 16:45:49 2003
@@ -135,6 +135,7 @@
         # Verify that internals of both objects are the same.
         # Could also test that external API produces the same results.
         eq = self.assertEqual
+        eq(copy.tid, self.cache.tid)
         eq(len(copy), len(self.cache))
         eq(copy.version, self.cache.version)
         eq(copy.current, self.cache.current)




More information about the Zodb-checkins mailing list