diff --git a/bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.testAlarm.py b/bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.testAlarm.py index 324cdee8ce46a8a3cb9a46a13d9a712a35ea0984..2caef225389b77e7573baa22a8c1a258827ba993 100644 --- a/bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.testAlarm.py +++ b/bt5/erp5_core_test/TestTemplateItem/portal_components/test.erp5.testAlarm.py @@ -81,6 +81,8 @@ class TestAlarm(ERP5TypeTestCase): # Test if portal_alarms was created self.assertNotEquals(self.portal._getOb('portal_alarms', None), None) self.assertNotEquals(self.portal.portal_types.getTypeInfo('Alarm Tool'), None) + # ... and that it should be subscribed by default + self.assertTrue(self.portal.portal_alarms.isSubscribed()) def test_02_Initialization(self): """