[Zope3-checkins] CVS: Zope3/src/zodb/zeo/tests - threadtests.py:1.1.2.2
Guido van Rossum
guido@python.org
Tue, 24 Dec 2002 12:18:00 -0500
Update of /cvs-repository/Zope3/src/zodb/zeo/tests
In directory cvs.zope.org:/tmp/cvs-serv11990
Modified Files:
Tag: NameGeddon-branch
threadtests.py
Log Message:
Kill more references to ZEO.
=== Zope3/src/zodb/zeo/tests/threadtests.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zodb/zeo/tests/threadtests.py:1.1.2.1 Mon Dec 23 14:30:53 2002
+++ Zope3/src/zodb/zeo/tests/threadtests.py Tue Dec 24 12:18:00 2002
@@ -18,7 +18,7 @@
from zodb.ztransaction import Transaction
from zodb.storage.tests.base import zodb_pickle, MinPO
-import zodb.zeo.client
+from zodb.zeo.client import ClientStorageError
from zodb.zeo.exceptions import Disconnected
ZERO = '\0'*8
@@ -56,7 +56,7 @@
self.doNextEvent.wait(10)
try:
self.storage.tpc_finish(self.trans)
- except ZEO.ClientStorage.ClientStorageError:
+ except ClientStorageError:
self.gotValueError = 1
self.storage.tpc_abort(self.trans)
@@ -69,7 +69,7 @@
def run(self):
try:
self.storage.tpc_begin(self.trans)
- except ZEO.ClientStorage.ClientStorageError:
+ except ClientStorageError:
self.gotValueError = 1
@@ -82,7 +82,7 @@
def run(self):
try:
self.storage.tpc_begin(self.trans)
- except ZEO.ClientStorage.ClientStorageError:
+ except ClientStorageError:
self.gotValueError = 1
try:
self.storage.tpc_abort(self.trans)