[Zodb-checkins] CVS: ZODB3/ZEO/tests - CommitLockTests.py:1.9

Guido van Rossum guido@python.org
Tue, 10 Sep 2002 17:22:12 -0400


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

Modified Files:
	CommitLockTests.py 
Log Message:
Get rid of last use of _rpc_mgr[0][1] to get the server address in the
test suite.  The address is now found as the _addr attribute of the
client storage instance.


=== ZODB3/ZEO/tests/CommitLockTests.py 1.8 => 1.9 ===
--- ZODB3/ZEO/tests/CommitLockTests.py:1.8	Thu Aug 29 12:32:51 2002
+++ ZODB3/ZEO/tests/CommitLockTests.py	Tue Sep 10 17:22:11 2002
@@ -185,7 +185,7 @@
         # The rpc mgr addr attribute is a list.  Each element in the
         # list is a socket domain (AF_INET, AF_UNIX, etc.) and an
         # address.
-        addr = self._storage._rpc_mgr.addr[0][1]
+        addr = self._storage._addr
         new = ZEO.ClientStorage.ClientStorage(addr, wait=1)
         new.registerDB(DummyDB(), None)
         return new