Commit 01657a1f authored by Yusei Tahara's avatar Yusei Tahara

Update message.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23497 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3edb620f
...@@ -3466,7 +3466,7 @@ class TestAccountingTransactionTemplate(AccountingTestCase): ...@@ -3466,7 +3466,7 @@ class TestAccountingTransactionTemplate(AccountingTestCase):
ret = self.accounting_module.Base_doAction( ret = self.accounting_module.Base_doAction(
select_action='template %s' % template.getRelativeUrl(), select_action='template %s' % template.getRelativeUrl(),
form_id='', cancel_url='') form_id='', cancel_url='')
self.failUnless('Template%20Created' in ret, ret) self.failUnless('Template%20created.' in ret, ret)
self.assertEquals(2, len(self.accounting_module.contentValues())) self.assertEquals(2, len(self.accounting_module.contentValues()))
......
...@@ -1282,7 +1282,7 @@ class TestERP5Base(ERP5TypeTestCase): ...@@ -1282,7 +1282,7 @@ class TestERP5Base(ERP5TypeTestCase):
# if year is not passed, the script returns the age in a translated string. # if year is not passed, the script returns the age in a translated string.
age_as_text = person.Person_getAge(at_date=DateTime(2002, 2, 4)) age_as_text = person.Person_getAge(at_date=DateTime(2002, 2, 4))
self.assertEquals(age_as_text, "1 Years Old") self.assertEquals(age_as_text, "1 years old")
def test_AssignmentWorkflow(self): def test_AssignmentWorkflow(self):
person = self.getPersonModule().newContent(portal_type='Person',) person = self.getPersonModule().newContent(portal_type='Person',)
......
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