Commit 0dfe639a authored by Yusei Tahara's avatar Yusei Tahara

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
parent 1da27d61
......@@ -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
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