Author: rhs
Date: Fri May 23 14:44:33 2008
New Revision: 659673
URL: http://svn.apache.org/viewvc?rev=659673&view=rev
Log:
QPID-947: added test for nested lists
Modified:
incubator/qpid/trunk/qpid/python/tests/codec010.py
Modified: incubator/qpid/trunk/qpid/python/tests/codec010.py
URL:
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/python/tests/codec010.py?rev=659673&r1=659672&r2=659673&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/python/tests/codec010.py (original)
+++ incubator/qpid/trunk/qpid/python/tests/codec010.py Fri May 23 14:44:33 2008
@@ -49,12 +49,16 @@
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", {})