[Zodb-checkins] CVS: ZODB3/ZEO/tests - testZEO.py:1.54.2.3.14.1

Barry Warsaw barry at zope.com
Fri Aug 1 17:43:58 EDT 2003


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

Modified Files:
      Tag: ZODB3-3_1-boston-branch
	testZEO.py 
Log Message:
checkSortKey(): Test that ClientStorage's sortKey() returns what we
expect <wink>.


=== ZODB3/ZEO/tests/testZEO.py 1.54.2.3 => 1.54.2.3.14.1 ===
--- ZODB3/ZEO/tests/testZEO.py:1.54.2.3	Fri Oct  4 12:01:57 2002
+++ ZODB3/ZEO/tests/testZEO.py	Fri Aug  1 16:43:51 2003
@@ -141,6 +141,11 @@
         if hasattr(ZODB, "__version__"):
             ReadOnlyStorage.ReadOnlyStorage.checkWriteMethods(self)
 
+    def checkSortKey(self):
+        key = '%s:%s' % (self._storage._storage, self._storage._server_addr)
+        self.assertEqual(self._storage.sortKey(), key)
+
+
 class UnixTests(GenericTests):
 
     """Add Unix-specific scaffolding to the generic test suite."""




More information about the Zodb-checkins mailing list