[Erp5-report] r22667 - /erp5/trunk/products/ERP5OOo/tests/testOOoImport.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Jul 25 18:34:27 CEST 2008
Author: jerome
Date: Fri Jul 25 18:34:27 2008
New Revision: 22667
URL: http://svn.erp5.org?rev=22667&view=rev
Log:
keys from dictionnaries in the list of category info returned by Base_getCategoriesSpreadSheetMapping must be strings, not unicode
Modified:
erp5/trunk/products/ERP5OOo/tests/testOOoImport.py
Modified: erp5/trunk/products/ERP5OOo/tests/testOOoImport.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/tests/testOOoImport.py?rev=22667&r1=22666&r2=22667&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/tests/testOOoImport.py (original)
+++ erp5/trunk/products/ERP5OOo/tests/testOOoImport.py Fri Jul 25 18:34:27 2008
@@ -220,6 +220,8 @@
# strings are encoded in UTF8
self.assertTrue(isinstance(region[1]['title'], str))
self.assertTrue(isinstance(region[1]['path'], str))
+ for k in region[1].keys():
+ self.assertTrue(isinstance(k, str), (k, type(k)))
def test_CategoryTool_importCategoryFile(self):
# tests simple use of CategoryTool_importCategoryFile script
More information about the Erp5-report
mailing list