summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2009-06-04 19:27:16 +0000
committerRafael H. Schloming <rhs@apache.org>2009-06-04 19:27:16 +0000
commit057c39fba3da4ef6707c63407d04c4050822e2d5 (patch)
treebadd9ca54bfbaddc16c955b9c8f4a7eccd01d501
parent69ffa9412018074861f05148f10348d64377bc1b (diff)
downloadqpid-python-057c39fba3da4ef6707c63407d04c4050822e2d5.tar.gz
added nested map to test data
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@781835 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--qpid/python/qpid/tests/messaging.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/qpid/python/qpid/tests/messaging.py b/qpid/python/qpid/tests/messaging.py
index aa2ec7fd87..d47de0321b 100644
--- a/qpid/python/qpid/tests/messaging.py
+++ b/qpid/python/qpid/tests/messaging.py
@@ -576,7 +576,7 @@ class MessageEchoTests(Base):
assert msg.correlation_id == echo.correlation_id
assert msg.properties == echo.properties
assert msg.content_type == echo.content_type
- assert msg.content == echo.content
+ assert msg.content == echo.content, "%s, %s" % (msg, echo)
self.ssn.acknowledge(echo)
@@ -594,7 +594,8 @@ class MessageEchoTests(Base):
"key5": 3.14,
"key6": -3.14,
"key7": ["one", 2, 3.14],
- "key8": []}
+ "key8": [],
+ "key9": {"sub-key0": 3}}
def testMapContent(self):
self.check(Message(MessageEchoTests.TEST_MAP))