[Erp5-report] r39128 ivan - /erp5/trunk/products/ERP5/tests/testXHTML.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Oct 14 12:04:00 CEST 2010
Author: ivan
Date: Thu Oct 14 12:03:52 2010
New Revision: 39128
URL: http://svn.erp5.org?rev=39128&view=rev
Log:
Check for duplicating selection name in listboxes.
Modified:
erp5/trunk/products/ERP5/tests/testXHTML.py
Modified: erp5/trunk/products/ERP5/tests/testXHTML.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testXHTML.py?rev=39128&r1=39127&r2=39128&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testXHTML.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testXHTML.py [utf8] Thu Oct 14 12:03:52 2010
@@ -237,6 +237,15 @@ class TestXHTML(ERP5TypeTestCase):
if selection_name in ("",None):
error_list.append(form_path)
self.assertEquals(error_list, [])
+
+ def test_duplicatingSelectionNameInListbox(self):
+ """
+ Check for duplicating selection name in listboxes.
+ Usually we should not have duplicates except in some rare cases
+ described in SkinsTool_getDuplicateSelectionNameDict
+ """
+ duplicating_selection_name_dict = self.portal.portal_skins.SkinsTool_getDuplicateSelectionNameDict()
+ self.assertEquals(duplicating_selection_name_dict, {})
def test_callableListMethodInListbox(self):
# check all list_method in listboxes
More information about the Erp5-report
mailing list