summaryrefslogtreecommitdiff
path: root/python
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
commit9af43abfd80dd63056e0e3422d13f8246965570c (patch)
tree25dd95e0d111da5a6aa901bd23de208292168441 /python
parent807456892f06c3b764085a82d45302a420723bb8 (diff)
downloadqpid-python-9af43abfd80dd63056e0e3422d13f8246965570c.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')
-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)