summaryrefslogtreecommitdiff
path: root/python/tests_0-10/example.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests_0-10/example.py')
-rw-r--r--python/tests_0-10/example.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests_0-10/example.py b/python/tests_0-10/example.py
index dc71b0590b..e4c80951ac 100644
--- a/python/tests_0-10/example.py
+++ b/python/tests_0-10/example.py
@@ -68,7 +68,7 @@ class ExampleTest (TestBase):
# has fields corresponding to the reply method fields, plus a content
# field that is filled if the reply includes content. In this case the
# interesting field is the consumer_tag.
- channel.message_consume(queue="test-queue", destination="consumer_tag")
+ channel.message_subscribe(queue="test-queue", destination="consumer_tag")
# We can use the Client.queue(...) method to access the queue
# corresponding to our consumer_tag.