[Erp5-report] r33143 yusuke - /erp5/trunk/products/ERP5/tests/testContentTranslation.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Feb 26 11:52:22 CET 2010
Author: yusuke
Date: Fri Feb 26 11:52:19 2010
New Revision: 33143
URL: http://svn.erp5.org?rev=33143&view=rev
Log:
add un-catalog check
Modified:
erp5/trunk/products/ERP5/tests/testContentTranslation.py
Modified: erp5/trunk/products/ERP5/tests/testContentTranslation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testContentTranslation.py?rev=33143&r1=33142&r2=33143&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testContentTranslation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testContentTranslation.py [utf8] Fri Feb 26 11:52:19 2010
@@ -104,7 +104,15 @@
result3 = portal.portal_catalog(content_translation_title='友介')
self.assertEquals(len(result3), 0)
-
+
+ # un-catalog
+ portal.person_module.manage_delObjects(person3.getId())
+ transaction.commit()
+ self.tic()
+
+ result4 = portal.portal_catalog(content_translation_title='村岡')
+ self.assertEquals(len(result4), 0)
+
def testContentTranslation(self):
"""
Make sure that translatable properties can have content translation into
More information about the Erp5-report
mailing list