Commit 37a7add5 authored by Yusei Tahara's avatar Yusei Tahara

Use content translation translation domain on Person type information

in the test.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31011 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 521829f5
......@@ -45,7 +45,11 @@ class TestContentTranslation(ERP5TypeTestCase):
)
def afterSetUp(self):
return
# set up translation domain on Person type information.
from Products.ERP5Type.Accessor.Translation import TRANSLATION_DOMAIN_CONTENT_TRANSLATION
self.portal.portal_types.Person.changeTranslations(
dict(first_name=TRANSLATION_DOMAIN_CONTENT_TRANSLATION,
last_name=TRANSLATION_DOMAIN_CONTENT_TRANSLATION))
def testContentTranslation(self):
"""
......
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