diff --git a/product/ERP5/tests/testNotificationTool.py b/product/ERP5/tests/testNotificationTool.py index fd5b6b835c0e3dc7dc95e6b74d8ddee2ffbe4bf7..1110fcdecd2dd308d403b590f0e9a21eb31443f6 100644 --- a/product/ERP5/tests/testNotificationTool.py +++ b/product/ERP5/tests/testNotificationTool.py @@ -106,7 +106,7 @@ class TestNotificationTool(ERP5TypeTestCase): quiet = 1 def getBusinessTemplateList(self): - return ('erp5_base', ) + return ('erp5_base',) def getTitle(self): return "Notification Tool" @@ -471,7 +471,16 @@ class TestNotificationTool(ERP5TypeTestCase): sequence_list.addSequenceString(sequence_string) sequence_list.play(self, quiet=quiet) + +class TestNotificationToolWithCRM(TestNotificationTool): + """Make sure that notification tool works with crm""" + + def getBusinessTemplateList(self): + return ('erp5_base', 'erp5_crm') + + def test_suite(): suite = unittest.TestSuite() suite.addTest(unittest.makeSuite(TestNotificationTool)) + suite.addTest(unittest.makeSuite(TestNotificationToolWithCRM)) return suite