[Zodb-checkins] CVS: StandaloneZODB/ZEO/tests - CommitLockTests.py:1.6

Jeremy Hylton jeremy@zope.com
Mon, 12 Aug 2002 14:05:23 -0400


Update of /cvs-repository/StandaloneZODB/ZEO/tests
In directory cvs.zope.org:/tmp/cvs-serv2430

Modified Files:
	CommitLockTests.py 
Log Message:
Use local method _get_timestamp().


=== StandaloneZODB/ZEO/tests/CommitLockTests.py 1.5 => 1.6 ===
--- StandaloneZODB/ZEO/tests/CommitLockTests.py:1.5	Fri Aug  9 16:31:45 2002
+++ StandaloneZODB/ZEO/tests/CommitLockTests.py	Mon Aug 12 14:05:23 2002
@@ -13,7 +13,10 @@
 ##############################################################################
 """Tests of the distributed commit lock."""
 
+import time
+
 from ZODB.Transaction import Transaction
+from ZODB.TimeStamp import TimeStamp
 from ZODB.tests.StorageTestBase import zodb_pickle, MinPO
 
 import ZEO.ClientStorage
@@ -113,7 +116,7 @@
         for i in range(4):
             storage2 = self._duplicate_client()
             t2 = Transaction()
-            tid = `ZEO.ClientStorage.get_timestamp()` # XXX why?
+            tid = self._get_timestamp()
             dosetup(storage2, t2, tid)
             if i == 0:
                 storage2.close()