diff options
author | Rafael H. Schloming <rhs@apache.org> | 2008-05-23 21:44:33 +0000 |
---|---|---|
committer | Rafael H. Schloming <rhs@apache.org> | 2008-05-23 21:44:33 +0000 |
commit | 778a8312f9601d17ab4f3c6c74092909637fb17c (patch) | |
tree | fd455236146838fbe0e2e95e8b2b6a41b9757eff /qpid/python/tests/codec010.py | |
parent | 99daabac209e7e0d7e624f37e76a33b9e15f71f9 (diff) | |
download | qpid-python-778a8312f9601d17ab4f3c6c74092909637fb17c.tar.gz |
QPID-947: added test for nested lists
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@659673 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/tests/codec010.py')
-rw-r--r-- | qpid/python/tests/codec010.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/qpid/python/tests/codec010.py b/qpid/python/tests/codec010.py index c849c1b0c0..835966e103 100644 --- a/qpid/python/tests/codec010.py +++ b/qpid/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", {}) |