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 | 7f4b49eba1746a7ce90378dd5f311db38317b16a (patch) | |
| tree | 3e51a80d0a9b0a05dce8143596c9021abe0e8270 /qpid/python/tests_0-10 | |
| parent | 4b9b00c9318bdd0338e1d3053e5c5665518bcc7a (diff) | |
| download | qpid-python-7f4b49eba1746a7ce90378dd5f311db38317b16a.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@634229 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/tests_0-10')
| -rw-r--r-- | qpid/python/tests_0-10/broker.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/python/tests_0-10/broker.py b/qpid/python/tests_0-10/broker.py index bfecb5c166..100288bbbb 100644 --- a/qpid/python/tests_0-10/broker.py +++ b/qpid/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) |
