summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2008-05-23 21:44:33 +0000
committerRafael H. Schloming <rhs@apache.org>2008-05-23 21:44:33 +0000
commit423994c0db435f3966c49eb427b245dae18fa8c2 (patch)
treec9b04a76537d63b4a15a79685458ae732e597b16
parenta61fd402d546f3a9ade8a4525bce7d9ac1d040f5 (diff)
downloadqpid-python-423994c0db435f3966c49eb427b245dae18fa8c2.tar.gz
QPID-947: added test for nested lists
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@659673 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--python/tests/codec010.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/python/tests/codec010.py b/python/tests/codec010.py
index c849c1b0c0..835966e103 100644
--- a/python/tests/codec010.py
+++ b/python/tests/codec010.py
@@ -49,12 +49,16 @@ class CodecTest(TestCase):
def testMapNested(self):
self.check("map", {"map": {"string": "nested test"}})
+ def testMapList(self):
+ self.check("map", {"list": [1, "two", 3.0, -4]})
+
def testMapAll(self):
self.check("map", {"string": "this is a test",
"int": 3,
"long": 2**32,
"none": None,
- "map": {"string": "nested map"}})
+ "map": {"string": "nested map"},
+ "list": [1, "two", 3.0, -4]})
def testMapEmpty(self):
self.check("map", {})