Commit 99ae01ed authored by Nicolas Delaby's avatar Nicolas Delaby

check acquired accessors

parent 03c2f0d5
......@@ -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):
......
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