summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2010-09-10 14:24:20 +0000
committerRafael H. Schloming <rhs@apache.org>2010-09-10 14:24:20 +0000
commitb59c746f0cb2fbbb9fea01c9292c4d6ca81f49d8 (patch)
tree7dcc6e83b4934d88e544eaf5ade2ea747da77839 /python
parent70c1f638331ae249bd97fd456343d7702775185e (diff)
downloadqpid-python-b59c746f0cb2fbbb9fea01c9292c4d6ca81f49d8.tar.gz
added extra assertion to check that deletion of default exchanges doesn't work
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@995803 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python')
-rw-r--r--python/qpid/tests/messaging/endpoints.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/qpid/tests/messaging/endpoints.py b/python/qpid/tests/messaging/endpoints.py
index b360482747..185a90b994 100644
--- a/python/qpid/tests/messaging/endpoints.py
+++ b/python/qpid/tests/messaging/endpoints.py
@@ -1029,6 +1029,7 @@ class AddressTests(Base):
snd.send("asdf")
try:
snd.close()
+ assert False, "successfully deleted amq.topic"
except SessionError, e:
assert "Cannot delete default exchange" in str(e)
# XXX: need to figure out close after error