summaryrefslogtreecommitdiff
path: root/python/tests/queue.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests/queue.py')
-rw-r--r--python/tests/queue.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/tests/queue.py b/python/tests/queue.py
index d5c13fa87a..9e32c44fd5 100644
--- a/python/tests/queue.py
+++ b/python/tests/queue.py
@@ -74,7 +74,8 @@ class QueueTests(TestBase):
self.assertConnectionException(530, e.args[0])
#cleanup
- channel = self.client.channel(4)
+ other = self.connect()
+ channel = other.channel(1)
channel.channel_open()
channel.exchange_delete(exchange="test-exchange")