Commit 4b8a018b authored by Jérome Perrin's avatar Jérome Perrin

This should be assertEquals, not failUnless

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@22653 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3747f302
......@@ -387,9 +387,9 @@ class TestBusinessTemplate(ERP5TypeTestCase, LogInterceptor):
module_id = sequence.get('module_ptype_id')
module_type = pt._getOb(module_id, None)
self.failUnless(module_type is not None)
self.failUnless(module_type.allowed_content_types,
self.assertEquals(module_type.allowed_content_types,
sequence.get('module_ptype_allowed_content_types'))
self.failUnless(module_type.filter_content_types,
self.assertEquals(module_type.filter_content_types,
sequence.get('module_ptype_filter_content_types'))
object_type = pt._getOb(object_id, None)
self.failUnless(object_type is not 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