Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Eteri
erp5
Commits
253b0df9
Commit
253b0df9
authored
Mar 18, 2013
by
Aurel
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into syncml
parents
efe36877
4163db4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
product/ERP5/tests/testContentTranslation.py
product/ERP5/tests/testContentTranslation.py
+3
-1
No files found.
product/ERP5/tests/testContentTranslation.py
View file @
253b0df9
...
...
@@ -45,12 +45,14 @@ class TestContentTranslation(ERP5TypeTestCase):
'erp5_content_translation'
,
)
def
afterSetUp
(
self
):
def
setUpOnce
(
self
):
# set up translation domain on Person type information.
from
Products.ERP5Type.Accessor.Translation
import
TRANSLATION_DOMAIN_CONTENT_TRANSLATION
setTranslationDomain
=
self
.
portal
.
portal_types
.
Person
.
setTranslationDomain
setTranslationDomain
(
'first_name'
,
TRANSLATION_DOMAIN_CONTENT_TRANSLATION
)
setTranslationDomain
(
'last_name'
,
TRANSLATION_DOMAIN_CONTENT_TRANSLATION
)
setTranslationDomain
(
'title'
,
TRANSLATION_DOMAIN_CONTENT_TRANSLATION
)
self
.
portal
.
portal_caches
.
manage_clearAllCache
()
def
testCatalogSearch
(
self
):
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment