[Zope3-checkins] CVS: Zope3/src/zodb/storage/tests - basic.py:1.2.4.2

Jeremy Hylton jeremy@zope.com
Fri, 24 Jan 2003 17:45:39 -0500


Update of /cvs-repository/Zope3/src/zodb/storage/tests
In directory cvs.zope.org:/tmp/cvs-serv26386

Modified Files:
      Tag: new-pickle-branch
	basic.py 
Log Message:
Change tests of getVersion() / setVersion() to use new 4-byte string
format.


=== Zope3/src/zodb/storage/tests/basic.py 1.2.4.1 => 1.2.4.2 ===
--- Zope3/src/zodb/storage/tests/basic.py:1.2.4.1	Thu Jan 23 14:01:58 2003
+++ Zope3/src/zodb/storage/tests/basic.py	Fri Jan 24 17:45:37 2003
@@ -34,12 +34,12 @@
 
 class BasicStorage:
     def checkDatabaseVersion(self):
-        version = (3, 2, 1, 'gamma', 5)
+        version = "abcd"
         self._storage.setVersion(version)
         self.assertEqual(version, self._storage.getVersion())
 
     def checkDatabaseVersionPersistent(self):
-        version = (3, 2, 1, 'gamma', 5)
+        version = "abcd"
         self._storage.setVersion(version)
         self._storage.close()
         self.open()