summaryrefslogtreecommitdiff
path: root/python/tests_0-10/queue.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests_0-10/queue.py')
-rw-r--r--python/tests_0-10/queue.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/python/tests_0-10/queue.py b/python/tests_0-10/queue.py
index d72d12f92d..7b3590d11b 100644
--- a/python/tests_0-10/queue.py
+++ b/python/tests_0-10/queue.py
@@ -126,11 +126,8 @@ class QueueTests(TestBase):
#straightforward case, both exchange & queue exist so no errors expected:
channel.queue_bind(queue="queue-1", exchange="amq.direct", routing_key="key1")
- #bind the default queue for the channel (i.e. last one declared):
- channel.queue_bind(exchange="amq.direct", routing_key="key2")
-
- #use the queue name where neither routing key nor queue are specified:
- channel.queue_bind(exchange="amq.direct")
+ #use the queue name where the routing key is not specified:
+ channel.queue_bind(queue="queue-1", exchange="amq.direct")
#try and bind to non-existant exchange
try: