Commit cb4d0f63 authored by Jérome Perrin's avatar Jérome Perrin

test this new Entity_getDefaultEmailAsURL script

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15938 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 710ff27f
No related merge requests found
...@@ -871,7 +871,8 @@ class TestHR(ERP5TypeTestCase): ...@@ -871,7 +871,8 @@ class TestHR(ERP5TypeTestCase):
pers.setDefaultEmailText('nobody@example.com') pers.setDefaultEmailText('nobody@example.com')
email = pers.getDefaultEmailValue() email = pers.getDefaultEmailValue()
self.assertEquals('mailto:nobody@example.com', email.asURL()) self.assertEquals('mailto:nobody@example.com', email.asURL())
self.assertEquals('mailto:nobody@example.com',
pers.Entity_getDefaultEmailAsURL())
def test_getTranslatedId(self): def test_getTranslatedId(self):
pers = self.getPersonModule().newContent( pers = self.getPersonModule().newContent(
......
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