From 633753111c5bbb3215f19d767bb49bcb9535ae5f Mon Sep 17 00:00:00 2001 From: Robert Godfrey Date: Tue, 26 Feb 2008 15:55:29 +0000 Subject: QPID-804 : Fix Java Broker Python test failures git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2.1@631264 13f79535-47bb-0310-9956-ffa450edef68 --- python/tests/unbind.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'python/tests') diff --git a/python/tests/unbind.py b/python/tests/unbind.py index 712ed55c5f..2ae843a604 100644 --- a/python/tests/unbind.py +++ b/python/tests/unbind.py @@ -39,23 +39,23 @@ class UnbindTests(TestBase): #bind two queues and consume from them channel = self.channel - self.queue_declare(queue="queue-1") - self.queue_declare(queue="queue-2") + self.queue_declare(queue="unbind-queue-1") + self.queue_declare(queue="unbind-queue-2") - channel.basic_consume(queue="queue-1", consumer_tag="queue-1", no_ack=True) - channel.basic_consume(queue="queue-2", consumer_tag="queue-2", no_ack=True) + channel.basic_consume(queue="unbind-queue-1", consumer_tag="unbind-queue-1", no_ack=True) + channel.basic_consume(queue="unbind-queue-2", consumer_tag="unbind-queue-2", no_ack=True) - queue1 = self.client.queue("queue-1") - queue2 = self.client.queue("queue-2") + queue1 = self.client.queue("unbind-queue-1") + queue2 = self.client.queue("unbind-queue-2") - channel.queue_bind(exchange=exchange, queue="queue-1", routing_key=routing_key, arguments=args) - channel.queue_bind(exchange=exchange, queue="queue-2", routing_key=routing_key, arguments=args) + channel.queue_bind(exchange=exchange, queue="unbind-queue-1", routing_key=routing_key, arguments=args) + channel.queue_bind(exchange=exchange, queue="unbind-queue-2", routing_key=routing_key, arguments=args) #send a message that will match both bindings channel.basic_publish(exchange=exchange, routing_key=routing_key, content=Content("one", properties={'headers':headers})) #unbind first queue - channel.queue_unbind(exchange=exchange, queue="queue-1", routing_key=routing_key, arguments=args) + channel.queue_unbind(exchange=exchange, queue="unbind-queue-1", routing_key=routing_key, arguments=args) #send another message channel.basic_publish(exchange=exchange, routing_key=routing_key, content=Content("two", properties={'headers':headers})) -- cgit v1.2.1