From 55a530448b4107edcb3bb8543b562c7208080995 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Fri, 16 Mar 2007 20:26:11 +0000 Subject: Merged revisions 496593 via svnmerge from https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9 ........ r496593 | rhs | 2007-01-16 00:28:25 -0500 (Tue, 16 Jan 2007) | 1 line 0-9 request/response framing for python ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@519129 13f79535-47bb-0310-9956-ffa450edef68 --- python/tests/example.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/tests') 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