Commit a24f56d6 authored by Ivan Tyagov's avatar Ivan Tyagov

Test that by default portal_alarms is subscribed to Timer Service.

parent 8a40bb1c
Pipeline #8283 failed with stage
in 0 seconds
...@@ -81,6 +81,8 @@ class TestAlarm(ERP5TypeTestCase): ...@@ -81,6 +81,8 @@ class TestAlarm(ERP5TypeTestCase):
# Test if portal_alarms was created # Test if portal_alarms was created
self.assertNotEquals(self.portal._getOb('portal_alarms', None), None) self.assertNotEquals(self.portal._getOb('portal_alarms', None), None)
self.assertNotEquals(self.portal.portal_types.getTypeInfo('Alarm Tool'), 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): def test_02_Initialization(self):
""" """
......
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