From 0dfe639ad1781e9d51e3681060d3e06f4354bee8 Mon Sep 17 00:00:00 2001 From: Yusei Tahara <yusei@nexedi.com> Date: Sat, 31 May 2008 14:24:56 +0000 Subject: [PATCH] Make sure that notification tool works with crm. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21257 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testNotificationTool.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/product/ERP5/tests/testNotificationTool.py b/product/ERP5/tests/testNotificationTool.py index fd5b6b835c..1110fcdecd 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 -- 2.30.9