[wwwsearch-commits] r17709 - wwwsearch/ClientForm/branch/0.1-maint
jjlee at codespeak.net
jjlee at codespeak.net
Wed Sep 21 00:38:43 CEST 2005
Author: jjlee
Date: Wed Sep 21 00:38:43 2005
New Revision: 17709
Modified:
wwwsearch/ClientForm/branch/0.1-maint/test.py
Log:
Add a missing test about set_value_by_label raising ItemCountError
Modified: wwwsearch/ClientForm/branch/0.1-maint/test.py
==============================================================================
--- wwwsearch/ClientForm/branch/0.1-maint/test.py (original)
+++ wwwsearch/ClientForm/branch/0.1-maint/test.py Wed Sep 21 00:38:43 2005
@@ -1350,6 +1350,8 @@
self.assert_(c.value == ["0"])
c.value = []
self.assertRaises(TypeError, c.set_value_by_label, "2002")
+ self.assertRaises(ItemCountError, c.set_value_by_label,
+ ["2000", "2001"])
self.assertRaises(ItemNotFoundError, c.set_value_by_label, ["foo"])
c.set_value_by_label(["2002"])
self.assert_(c.value == ["0"])
More information about the wwwsearch-commits
mailing list