[Erp5-report] r21257 - /erp5/trunk/products/ERP5/tests/testNotificationTool.py

nobody at svn.erp5.org nobody at svn.erp5.org
Sat May 31 16:24:57 CEST 2008


Author: yusei
Date: Sat May 31 16:24:56 2008
New Revision: 21257

URL: http://svn.erp5.org?rev=21257&view=rev
Log:
Make sure that notification tool works with crm.

Modified:
    erp5/trunk/products/ERP5/tests/testNotificationTool.py

Modified: erp5/trunk/products/ERP5/tests/testNotificationTool.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testNotificationTool.py?rev=21257&r1=21256&r2=21257&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testNotificationTool.py (original)
+++ erp5/trunk/products/ERP5/tests/testNotificationTool.py Sat May 31 16:24:56 2008
@@ -106,7 +106,7 @@
   quiet = 1
 
   def getBusinessTemplateList(self):
-    return ('erp5_base', )
+    return ('erp5_base',)
 
   def getTitle(self):
     return "Notification Tool"
@@ -471,7 +471,16 @@
     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




More information about the Erp5-report mailing list