diff options
| author | Gordon Sim <gsim@apache.org> | 2008-03-06 11:44:36 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2008-03-06 11:44:36 +0000 |
| commit | b7c474ea80fce5d53236aeea9f74c9107da0152d (patch) | |
| tree | 6d0a36c807c309cdebe3ba18dfe4c0bbbb75bfb8 /python/tests_0-10 | |
| parent | 7e162fa97ef0d430714b9630121a055fe5adece9 (diff) | |
| download | qpid-python-b7c474ea80fce5d53236aeea9f74c9107da0152d.tar.gz | |
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
Diffstat (limited to 'python/tests_0-10')
| -rw-r--r-- | python/tests_0-10/broker.py | 4 |
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) |
