[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zodb-checkins
Subject:    [Zodb-checkins] CVS: ZEO/ZEO/tests - CommitLockTests.py:1.2.4.2 testZEO.py:1.25.4.2
From:       Jeremy Hylton <jeremy () zope ! com>
Date:       2002-07-29 19:06:53
[Download RAW message or body]

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

Modified Files:
      Tag: ZODB4-ZEO-branch
	CommitLockTests.py testZEO.py 
Log Message:
Fix a couple more uses of old-style registerDB().





=== ZEO/ZEO/tests/CommitLockTests.py 1.2.4.1 => 1.2.4.2 ===
         # address.
         addr = self._storage._rpc_mgr.addr[0][1]
         new = ZEO.ClientStorage.ClientStorage(addr, wait=1)
-        new.registerDB(DummyDB(), None)
+        new.registerDB(DummyDB())
         return new
 
     def _get_timestamp(self):


=== ZEO/ZEO/tests/testZEO.py 1.25.4.1 => 1.25.4.2 ===
         storage = ZEO.ClientStorage.ClientStorage(zeo_addr, wait=1,
                                                   min_disconnect_poll=0.1)
         self._storage = PackWaitWrapper(storage)
-        storage.registerDB(DummyDB(), None)
+        storage.registerDB(DummyDB())
 
     def tearDown(self):
         self._storage.close()



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic