[Zodb-checkins] CVS: ZEO/ZEO/tests - CommitLockTests.py:1.2.4.2 testZEO.py:1.25.4.2
Jeremy Hylton
jeremy@zope.com
Mon, 29 Jul 2002 15:06:53 -0400
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()