summaryrefslogtreecommitdiff
path: root/python/tests/example.py
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-03-16 20:26:11 +0000
committerAlan Conway <aconway@apache.org>2007-03-16 20:26:11 +0000
commit55a530448b4107edcb3bb8543b562c7208080995 (patch)
tree23be2798e546f641ff4652f7255c090a39cd3010 /python/tests/example.py
parentf3cb9466b4b969747f97ab6716964179db96f124 (diff)
downloadqpid-python-55a530448b4107edcb3bb8543b562c7208080995.tar.gz
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
Diffstat (limited to 'python/tests/example.py')
-rw-r--r--python/tests/example.py4
1 files changed, 2 insertions, 2 deletions
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)