summaryrefslogtreecommitdiff
path: root/qpid/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
commitc5b0c2b0eecd2e7335b44df7284f315cc7aae716 (patch)
tree2c4a5da4afb201f93057b0e6aa6475729612357c /qpid/python/tests/example.py
parentc68014801b3086b528a4e15cf3572f3633238d8a (diff)
downloadqpid-python-c5b0c2b0eecd2e7335b44df7284f315cc7aae716.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@519129 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/tests/example.py')
-rw-r--r--qpid/python/tests/example.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/python/tests/example.py b/qpid/python/tests/example.py
index bc84f002e0..a1949ccb9f 100644
--- a/qpid/python/tests/example.py
+++ b/qpid/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)