From cb4d0f6357f316d640b5232a6dbcb17696359f0c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Wed, 29 Aug 2007 17:38:42 +0000
Subject: [PATCH] test this new Entity_getDefaultEmailAsURL script

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15938 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5/tests/testERP5HR.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/product/ERP5/tests/testERP5HR.py b/product/ERP5/tests/testERP5HR.py
index 0f01446bec..d2a000daba 100644
--- a/product/ERP5/tests/testERP5HR.py
+++ b/product/ERP5/tests/testERP5HR.py
@@ -871,7 +871,8 @@ class TestHR(ERP5TypeTestCase):
     pers.setDefaultEmailText('nobody@example.com')
     email = pers.getDefaultEmailValue()
     self.assertEquals('mailto:nobody@example.com', email.asURL())
-    
+    self.assertEquals('mailto:nobody@example.com',
+                      pers.Entity_getDefaultEmailAsURL())
 
   def test_getTranslatedId(self):
     pers = self.getPersonModule().newContent(
-- 
2.30.9