Commit fec45efb authored by Lucas Carvalho's avatar Lucas Carvalho

Fixed assert due Russian account title.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44906 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2934cce0
......@@ -334,8 +334,10 @@ class TestLiveConfiguratorWorkflowMixin(SecurityTestCase):
account_business_configuration_item.getFinancialSection())
# title is translated here
self.assertEquals('Capital',
account_business_configuration_item.getTitle())
title = account_business_configuration_item.getTitle()
self.assertTrue(title in ('Capital',
'\xd0\xa3\xd1\x81\xd1\x82\xd0\xb0\xd0\xb2\xd0\xbd\xd1\x8b\xd0\xb9 ' \
'\xd0\xba\xd0\xb0\xd0\xbf\xd0\xb8\xd1\x82\xd0\xb0\xd0\xbb'))
# 4. An accounting period configuration item
accounting_period_configuration_item = \
......
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