Commit 1f943ab6 authored by Jérome Perrin's avatar Jérome Perrin

content_translation: py3

parent 6ff7ce06
...@@ -234,9 +234,9 @@ class TestContentTranslation(ERP5TypeTestCase): ...@@ -234,9 +234,9 @@ class TestContentTranslation(ERP5TypeTestCase):
self.tic() self.tic()
x = person.Base_viewContentTranslation().encode('utf-8') x = person.Base_viewContentTranslation()
self.assertIn('タハラ', x) self.assertIn(u'タハラ', x)
self.assertIn('ユウセイ', x) self.assertIn(u'ユウセイ', x)
self.assertEqual(person.getJaKanaTranslatedFirstName(), 'タハラ') self.assertEqual(person.getJaKanaTranslatedFirstName(), 'タハラ')
self.assertEqual(person.getJaKanaTranslatedLastName(), 'ユウセイ') self.assertEqual(person.getJaKanaTranslatedLastName(), 'ユウセイ')
......
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