Commit 69a7b330 authored by Nicolas Dumazet's avatar Nicolas Dumazet

get*List() return an empty list when nothing is set


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@39493 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 76a4d92b
......@@ -106,7 +106,7 @@ class TestPortalTypeClass(ERP5TypeTestCase):
person = person_module.newContent(id='John Dough', portal_type='Person')
person_type = portal.portal_types.Person
self.assertEquals(person_type.getTypeMixinList(), None)
self.assertEquals(person_type.getTypeMixinList() or [], [])
try:
self.assertEquals(getattr(person, 'asText', None), None)
......
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