From 29e565301673928fe148b6ebe1d08eeee9fe3b15 Mon Sep 17 00:00:00 2001 From: Yusuke Muraoka <yusuke@nexedi.com> Date: Fri, 2 Apr 2010 03:05:02 +0000 Subject: [PATCH] Fixed the column name conflict. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34258 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testContentTranslation.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/product/ERP5/tests/testContentTranslation.py b/product/ERP5/tests/testContentTranslation.py index 42d7d55f51..5d1e9f784f 100644 --- a/product/ERP5/tests/testContentTranslation.py +++ b/product/ERP5/tests/testContentTranslation.py @@ -112,6 +112,14 @@ class TestContentTranslation(ERP5TypeTestCase): 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): """ -- 2.30.9