summaryrefslogtreecommitdiff
path: root/python/tests_0-10/testlib.py
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-08-28 19:38:17 +0000
committerGordon Sim <gsim@apache.org>2007-08-28 19:38:17 +0000
commit9e10f4ea3b2f8ab6650f635cada48e4735ca20d7 (patch)
tree26ad3b8dffa17fa665fe7a033a7c8092839df011 /python/tests_0-10/testlib.py
parent6b09696b216c090b512c6af92bf7976ae3407add (diff)
downloadqpid-python-9e10f4ea3b2f8ab6650f635cada48e4735ca20d7.tar.gz
Updated message.transfer encoding to use header and content segments (including new structs).
Unified more between the basic and message classes messages. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@570538 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/tests_0-10/testlib.py')
-rw-r--r--python/tests_0-10/testlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests_0-10/testlib.py b/python/tests_0-10/testlib.py
index f345fbbd80..a0355c4ce0 100644
--- a/python/tests_0-10/testlib.py
+++ b/python/tests_0-10/testlib.py
@@ -49,7 +49,7 @@ class TestBaseTest(TestBase):
def testAssertEmptyFail(self):
self.queue_declare(queue="full")
q = self.consume("full")
- self.channel.message_transfer(routing_key="full", body="")
+ self.channel.message_transfer(content=Content("", properties={'routing_key':"full"}))
try:
self.assertEmpty(q);
self.fail("assertEmpty did not assert on non-empty queue")