From 423994c0db435f3966c49eb427b245dae18fa8c2 Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Fri, 23 May 2008 21:44:33 +0000 Subject: 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 --- python/tests/codec010.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'python/tests/codec010.py') 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", {}) -- cgit v1.2.1