Commit 29e56530 authored by Yusuke Muraoka's avatar Yusuke Muraoka

Fixed the column name conflict.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34258 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 18ae2acd
...@@ -113,6 +113,14 @@ class TestContentTranslation(ERP5TypeTestCase): ...@@ -113,6 +113,14 @@ class TestContentTranslation(ERP5TypeTestCase):
result4 = portal.portal_catalog(content_translation_title='村岡') result4 = portal.portal_catalog(content_translation_title='村岡')
self.assertEquals(len(result4), 0) 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): def testContentTranslation(self):
""" """
Make sure that translatable properties can have content translation into Make sure that translatable properties can have content translation into
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment