[Erp5-report] r34258 yusuke - /erp5/trunk/products/ERP5/tests/testContentTranslation.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Apr 2 05:05:02 CEST 2010


Author: yusuke
Date: Fri Apr  2 05:05:02 2010
New Revision: 34258

URL: http://svn.erp5.org?rev=34258&view=rev
Log:
Fixed the column name conflict.

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=34258&r1=34257&r2=34258&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testContentTranslation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testContentTranslation.py [utf8] Fri Apr  2 05:05:02 2010
@@ -112,6 +112,14 @@
 
     result4 = portal.portal_catalog(content_translation_title='村岡')
     self.assertEquals(len(result4), 0)
+
+    # columns test
+    result5 = portal.portal_catalog(property_name='title')
+    self.assertEquals(len(result5), 2)
+    result6 = portal.portal_catalog(content_language='nob-read')
+    self.assertEquals(len(result6), 2)
+    result7 = portal.portal_catalog(translated_text='XXX YYY')
+    self.assertEquals(len(result7), 1)
  
   def testContentTranslation(self):
     """




More information about the Erp5-report mailing list