summaryrefslogtreecommitdiff
path: root/python/tests_0-9/basic.py
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-07-03 15:18:03 +0000
committerGordon Sim <gsim@apache.org>2007-07-03 15:18:03 +0000
commit84856db9f9312ba65f82a129d7f2761ad80d83fc (patch)
tree33fabe547f097e23033f810d607150c75d2a6343 /python/tests_0-9/basic.py
parent338f2196c07ea6ce2cd40941bca9ef11e95be2bf (diff)
downloadqpid-python-84856db9f9312ba65f82a129d7f2761ad80d83fc.tar.gz
Changes to python tests for QPID-533 and QPID-407.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@552872 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/tests_0-9/basic.py')
-rw-r--r--python/tests_0-9/basic.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/tests_0-9/basic.py b/python/tests_0-9/basic.py
index 140576540a..0ad06e10a3 100644
--- a/python/tests_0-9/basic.py
+++ b/python/tests_0-9/basic.py
@@ -218,10 +218,11 @@ class BasicTests(TestBase):
channel.basic_ack(delivery_tag=msg4.delivery_tag, multiple=False) #Four
channel.basic_cancel(consumer_tag=subscription.consumer_tag)
- subscription2 = channel.basic_consume(queue="test-requeue")
- queue2 = self.client.queue(subscription2.consumer_tag)
channel.basic_recover(requeue=True)
+
+ subscription2 = channel.basic_consume(queue="test-requeue")
+ queue2 = self.client.queue(subscription2.consumer_tag)
msg3b = queue2.get(timeout=1)
msg5b = queue2.get(timeout=1)