summaryrefslogtreecommitdiff
path: root/python/tests/basic.py
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-02-09 13:44:08 +0000
committerGordon Sim <gsim@apache.org>2007-02-09 13:44:08 +0000
commit521b63e9ad416df5cd98c65aa0246efbc24b7503 (patch)
treece2cb3ca2ed6b49faa80dd0c2945db647d0bfb1b /python/tests/basic.py
parent8cf4a0b8ebaa6075a1f083a294b1fee90bd4d196 (diff)
downloadqpid-python-521b63e9ad416df5cd98c65aa0246efbc24b7503.tar.gz
* qpid/peer.py - fix to prevent race between handling of connection.close request and socket close
* qpid/testlib.py - close client (if not closed) on tearDown * tests/basic.py - revert back to using exclusive queue which should now be cleaned up on tear down * tests/message.py - fix to prefetch tests git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@505287 13f79535-47bb-0310-9956-ffa450edef68
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 0100b8ee3e..140576540a 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
- self.queue_declare(queue="test-ack-queue", exclusive=True)
+ channel.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)