summaryrefslogtreecommitdiff
path: root/python/tests_0-10/testlib.py
diff options
context:
space:
mode:
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")