Commit b50582c2 authored by Yusuke Muraoka's avatar Yusuke Muraoka

add un-catalog check


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33143 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7d8b60f8
...@@ -105,6 +105,14 @@ class TestContentTranslation(ERP5TypeTestCase): ...@@ -105,6 +105,14 @@ class TestContentTranslation(ERP5TypeTestCase):
result3 = portal.portal_catalog(content_translation_title='友介') result3 = portal.portal_catalog(content_translation_title='友介')
self.assertEquals(len(result3), 0) 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): 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