[Zope3-checkins] CVS: Zope3/src/zope/publisher/tests - test_browserrequest.py:1.5
Marius Gedminas
mgedmin@codeworks.lt
Tue, 8 Apr 2003 03:29:37 -0400
Update of /cvs-repository/Zope3/src/zope/publisher/tests
In directory cvs.zope.org:/tmp/cvs-serv31630/src/zope/publisher/tests
Modified Files:
test_browserrequest.py
Log Message:
Small bugfix.
=== Zope3/src/zope/publisher/tests/test_browserrequest.py 1.4 => 1.5 ===
--- Zope3/src/zope/publisher/tests/test_browserrequest.py:1.4 Thu Mar 13 13:49:15 2003
+++ Zope3/src/zope/publisher/tests/test_browserrequest.py Tue Apr 8 03:29:36 2003
@@ -220,6 +220,8 @@
self.assertEqual(request.form[u'b'], u'1')
self.assertEqual(request.form[u'a'].keys(), [u'x'])
self.assertEqual(request.form[u'a'][u'x'], [u'5',u'6'])
+ self.assertEqual(str(request.form[u'a']), "x: [u'5', u'6']")
+ self.assertEqual(repr(request.form[u'a']), "x: [u'5', u'6']")
def testFormListTypes2(self):
extra = {'QUERY_STRING':'a=5&a=6&b=1'}