[Erp5-report] r27610 - in /erp5/trunk/products/ERP5OOo/tests: ./ test_document/

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jun 16 15:46:39 CEST 2009


Author: kazuhiko
Date: Tue Jun 16 15:46:38 2009
New Revision: 27610

URL: http://svn.erp5.org?rev=27610&view=rev
Log:
add an assertion to check if title property is set with a spreadsheet having both short_title and title.

Modified:
    erp5/trunk/products/ERP5OOo/tests/testOOoImport.py
    erp5/trunk/products/ERP5OOo/tests/test_document/import_region_category.sxc

Modified: erp5/trunk/products/ERP5OOo/tests/testOOoImport.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/tests/testOOoImport.py?rev=27610&r1=27609&r2=27610&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/tests/testOOoImport.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/tests/testOOoImport.py [utf8] Tue Jun 16 15:46:38 2009
@@ -727,6 +727,7 @@
     self.assertTrue('france' in region.europe.objectIds())
     france = region.europe.france
     self.assertEquals('France', france.getTitle())
+    self.assertTrue(france.hasProperty('title'))
     self.assertEquals('A Country', france.getDescription())
     self.assertEquals('FR', france.getCodification())
     self.assertEquals(1, france.getIntIndex())

Modified: erp5/trunk/products/ERP5OOo/tests/test_document/import_region_category.sxc
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/tests/test_document/import_region_category.sxc?rev=27610&r1=27609&r2=27610&view=diff
==============================================================================
Binary files - no diff available.




More information about the Erp5-report mailing list