summaryrefslogtreecommitdiff
path: root/qpid/python/tests/queue.py
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/python/tests/queue.py')
-rw-r--r--qpid/python/tests/queue.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/python/tests/queue.py b/qpid/python/tests/queue.py
index d5c13fa87a..9e32c44fd5 100644
--- a/qpid/python/tests/queue.py
+++ b/qpid/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")