From b7c474ea80fce5d53236aeea9f74c9107da0152d Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 6 Mar 2008 11:44:36 +0000 Subject: Fix message delivery for 0-10 final codepath Convert two more python tests to use 0-10 client git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634229 13f79535-47bb-0310-9956-ffa450edef68 --- python/tests_0-10/broker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/tests_0-10') diff --git a/python/tests_0-10/broker.py b/python/tests_0-10/broker.py index bfecb5c166..100288bbbb 100644 --- a/python/tests_0-10/broker.py +++ b/python/tests_0-10/broker.py @@ -70,7 +70,7 @@ class BrokerTests(TestBase010): body = "Immediate Delivery" session.message_transfer("amq.fanout", None, None, Message(body)) msg = queue.get(timeout=5) - self.assert_(msg.content.body == body) + self.assert_(msg.body == body) def test_simple_delivery_queued(self): """ @@ -89,7 +89,7 @@ class BrokerTests(TestBase010): session.message_flow(unit = 1, value = 0xFFFFFFFF, destination = consumer_tag) queue = session.incoming(consumer_tag) msg = queue.get(timeout=5) - self.assert_(msg.content.body == body) + self.assert_(msg.body == body) def test_invalid_channel(self): channel = self.client.channel(200) -- cgit v1.2.1