From 8021505b531ba4c022ab89f8a2bd59bf8af3c1fc Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Tue, 16 Jan 2007 05:28:25 +0000 Subject: 0-9 request/response framing for python git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@496593 13f79535-47bb-0310-9956-ffa450edef68 --- python/tests/example.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/tests/example.py') diff --git a/python/tests/example.py b/python/tests/example.py index bc84f002e0..a1949ccb9f 100644 --- a/python/tests/example.py +++ b/python/tests/example.py @@ -58,7 +58,7 @@ class ExampleTest (TestBase): # Here we use ordinal arguments. self.exchange_declare(channel, 0, "test", "direct") - + # Here we use keyword arguments. self.queue_declare(channel, queue="test-queue") channel.queue_bind(queue="test-queue", exchange="test", routing_key="key") @@ -85,7 +85,7 @@ class ExampleTest (TestBase): # argument in case the server hangs. By default queue.get() will wait # until a message arrives or the connection to the server dies. msg = queue.get(timeout=10) - + # And check that we got the right response with assertEqual self.assertEqual(body, msg.content.body) -- cgit v1.2.1