summaryrefslogtreecommitdiff
path: root/python/tests/basic.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests/basic.py')
-rw-r--r--python/tests/basic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests/basic.py b/python/tests/basic.py
index 140576540a..0100b8ee3e 100644
--- a/python/tests/basic.py
+++ b/python/tests/basic.py
@@ -147,7 +147,7 @@ class BasicTests(TestBase):
Test basic ack/recover behaviour
"""
channel = self.channel
- channel.queue_declare(queue="test-ack-queue", exclusive=True)
+ self.queue_declare(queue="test-ack-queue", exclusive=True)
reply = channel.basic_consume(queue="test-ack-queue", no_ack=False)
queue = self.client.queue(reply.consumer_tag)