summaryrefslogtreecommitdiff
path: root/python/tests/example.py
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2007-01-16 05:28:25 +0000
committerRafael H. Schloming <rhs@apache.org>2007-01-16 05:28:25 +0000
commit8021505b531ba4c022ab89f8a2bd59bf8af3c1fc (patch)
tree7165613b0996b55b466e140accdf6f81bae33b4c /python/tests/example.py
parentd24ea0b5a3f4ca7c1a7f30f9af99b4e7338a1d85 (diff)
downloadqpid-python-8021505b531ba4c022ab89f8a2bd59bf8af3c1fc.tar.gz
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
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)