From 99ae01ed38e0365ab5b870573e24e2ab05afdebf Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Wed, 21 Sep 2011 17:40:25 +0200 Subject: [PATCH] check acquired accessors --- product/ERP5/tests/testERP5Coordinate.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/product/ERP5/tests/testERP5Coordinate.py b/product/ERP5/tests/testERP5Coordinate.py index 128f993a7e..3bbccec0b8 100644 --- a/product/ERP5/tests/testERP5Coordinate.py +++ b/product/ERP5/tests/testERP5Coordinate.py @@ -92,6 +92,9 @@ class TestERP5Coordinate(ERP5TypeTestCase): email.setCoordinateText(email_text) self.assertEquals(email.getCoordinateText(), email_text) self.assertEquals(email.asText(), email_text) + # check acquired accessors + person.setDefaultEmailCoordinateText(email_text) + self.assertEquals(person.getDefaultEmailCoordinateText(), email_text) # Old API check backward compatibility def test_TelephoneAsText(self): -- 2.30.9