summaryrefslogtreecommitdiff
path: root/python/tests_0-10/query.py
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-10-11 13:29:37 +0000
committerGordon Sim <gsim@apache.org>2007-10-11 13:29:37 +0000
commit685aad458c485cd260df694f58d2f7641ce94e32 (patch)
tree57b4963ac7105f711ced6e4627232e0f62fda3be /python/tests_0-10/query.py
parenta23f05ddb503e587473519fa3f6491a93798a535 (diff)
downloadqpid-python-685aad458c485cd260df694f58d2f7641ce94e32.tar.gz
Exclusive no longer implies auto-delete on queue.declare.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@583821 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/tests_0-10/query.py')
-rw-r--r--python/tests_0-10/query.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/python/tests_0-10/query.py b/python/tests_0-10/query.py
index 06f33be85b..eba2ee6dd1 100644
--- a/python/tests_0-10/query.py
+++ b/python/tests_0-10/query.py
@@ -65,8 +65,8 @@ class QueryTests(TestBase):
def binding_query_with_key(self, exchange_name):
channel = self.channel
#setup: create two queues
- channel.queue_declare(queue="used-queue", exclusive=True)
- channel.queue_declare(queue="unused-queue", exclusive=True)
+ channel.queue_declare(queue="used-queue", exclusive=True, auto_delete=True)
+ channel.queue_declare(queue="unused-queue", exclusive=True, auto_delete=True)
channel.queue_bind(exchange=exchange_name, queue="used-queue", routing_key="used-key")
@@ -135,8 +135,8 @@ class QueryTests(TestBase):
"""
channel = self.channel
#setup
- channel.queue_declare(queue="used-queue", exclusive=True)
- channel.queue_declare(queue="unused-queue", exclusive=True)
+ channel.queue_declare(queue="used-queue", exclusive=True, auto_delete=True)
+ channel.queue_declare(queue="unused-queue", exclusive=True, auto_delete=True)
channel.queue_bind(exchange="amq.fanout", queue="used-queue")
# test detection of any binding to specific queue
@@ -163,8 +163,8 @@ class QueryTests(TestBase):
"""
channel = self.channel
#setup
- channel.queue_declare(queue="used-queue", exclusive=True)
- channel.queue_declare(queue="unused-queue", exclusive=True)
+ channel.queue_declare(queue="used-queue", exclusive=True, auto_delete=True)
+ channel.queue_declare(queue="unused-queue", exclusive=True, auto_delete=True)
channel.queue_bind(exchange="amq.match", queue="used-queue", arguments={"x-match":"all", "a":"A"} )
# test detection of any binding to specific queue