summaryrefslogtreecommitdiff
path: root/python/qpid
diff options
context:
space:
mode:
authorRobert Godfrey <rgodfrey@apache.org>2012-02-20 22:08:34 +0000
committerRobert Godfrey <rgodfrey@apache.org>2012-02-20 22:08:34 +0000
commitcd3dac0e802c33169cc9af323a8294631750e2f3 (patch)
tree25dd95e0d111da5a6aa901bd23de208292168441 /python/qpid
parent64e868ab7b5355981b715395cbccfc7ca4ffaa46 (diff)
downloadqpid-python-cd3dac0e802c33169cc9af323a8294631750e2f3.tar.gz
QPID-3589 : Python tests fails against Java broker due to difference in exception message text from CPP broker
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1291482 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid')
-rw-r--r--python/qpid/tests/messaging/endpoints.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/qpid/tests/messaging/endpoints.py b/python/qpid/tests/messaging/endpoints.py
index 3a4dc4517e..c3702bf5be 100644
--- a/python/qpid/tests/messaging/endpoints.py
+++ b/python/qpid/tests/messaging/endpoints.py
@@ -1038,7 +1038,7 @@ class AddressTests(Base):
snd.close()
assert False, "successfully deleted amq.topic"
except SessionError, e:
- assert "Cannot delete default exchange" in str(e)
+ assert e.code == 530
# XXX: need to figure out close after error
self.conn._remove_session(self.ssn)