diff options
author | Robert Godfrey <rgodfrey@apache.org> | 2012-02-20 22:08:34 +0000 |
---|---|---|
committer | Robert Godfrey <rgodfrey@apache.org> | 2012-02-20 22:08:34 +0000 |
commit | f15b75547f4bf6e61b94a109ff63253be1435a61 (patch) | |
tree | f7869118924f9ded1afcce7a2390379bd0b733e5 /qpid/python | |
parent | e4c32b29cf2d41c9446a5dd6a3a23a3737cbada2 (diff) | |
download | qpid-python-f15b75547f4bf6e61b94a109ff63253be1435a61.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@1291482 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
-rw-r--r-- | qpid/python/qpid/tests/messaging/endpoints.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/python/qpid/tests/messaging/endpoints.py b/qpid/python/qpid/tests/messaging/endpoints.py index 3a4dc4517e..c3702bf5be 100644 --- a/qpid/python/qpid/tests/messaging/endpoints.py +++ b/qpid/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) |