summaryrefslogtreecommitdiff
path: root/python/tests_0-10
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests_0-10')
-rw-r--r--python/tests_0-10/broker.py4
1 files changed, 2 insertions, 2 deletions
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)