summaryrefslogtreecommitdiff
path: root/python/tests/testlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests/testlib.py')
-rw-r--r--python/tests/testlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests/testlib.py b/python/tests/testlib.py
index cab07cc4ac..d9391fc529 100644
--- a/python/tests/testlib.py
+++ b/python/tests/testlib.py
@@ -49,7 +49,7 @@ class TestBaseTest(TestBase):
def testAssertEmptyFail(self):
self.queue_declare(queue="full")
q = self.consume("full")
- self.channel.basic_publish(routing_key="full")
+ self.channel.message_transfer(routing_key="full", body="")
try:
self.assertEmpty(q);
self.fail("assertEmpty did not assert on non-empty queue")