Commit a09aef2d authored by Nicolas Wavrant's avatar Nicolas Wavrant

fixup! erp5_interface_post: add test suite

parent bda20640
......@@ -82,8 +82,8 @@ class TestInterfacePost(ERP5TypeLiveTestCase):
)
for module_id in ('event_module', 'internet_message_post_module', 'letter_post_module'):
module = self.portal[module_id]
module.manage_delObjects(module.objectIds())
module = getattr(self.portal, module_id)
module.manage_delObjects(list(module.objectIds()))
def _portal_catalog(self, **kw):
result_list = self.portal.portal_catalog(**kw)
......
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