diff options
author | Rafael H. Schloming <rhs@apache.org> | 2009-06-04 19:27:16 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2009-06-04 19:27:16 +0000 |
commit | 1a11f4e8bc629c473c1062197ecdf390205c6579 (patch) | |
tree | 266d79c0558fa8214cb54c890d41a2a14132cb6f /python/qpid/tests/messaging.py | |
parent | 2d42d8bb32d0ac6b195a23e00b42b9d2dcbd73f3 (diff) | |
download | qpid-python-1a11f4e8bc629c473c1062197ecdf390205c6579.tar.gz |
added nested map to test data
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781835 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/tests/messaging.py')
-rw-r--r-- | python/qpid/tests/messaging.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/qpid/tests/messaging.py b/python/qpid/tests/messaging.py index aa2ec7fd87..d47de0321b 100644 --- a/python/qpid/tests/messaging.py +++ b/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)) |