"software/caddy-frontend/development.cfg" did not exist on "b83701a20377400d4d690a78d14d0430d3b0b179"
Commit faab72c9 authored by Sebastien Robin's avatar Sebastien Robin

the new default generated id is 0 instead of 1

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34642 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0344d679
......@@ -595,9 +595,9 @@ class TestAlarm(ERP5TypeTestCase):
# check tags after activeSense
for m in messages_list:
if m.method_id == 'notify':
self.assertEquals(m.activity_kw.get('after_tag'), '1')
self.assertEquals(m.activity_kw.get('after_tag'), '0')
elif m.method_id == sense_method_id:
self.assertEquals(m.activity_kw.get('tag'), '1')
self.assertEquals(m.activity_kw.get('tag'), '0')
else:
raise AssertionError, m.method_id
# execute alarm sense script and check tags
......@@ -606,9 +606,9 @@ class TestAlarm(ERP5TypeTestCase):
messages_list = self.getActivityTool().getMessageList()
for m in messages_list:
if m.method_id == 'notify':
self.assertEquals(m.activity_kw.get('after_tag'), '1')
self.assertEquals(m.activity_kw.get('after_tag'), '0')
elif m.method_id == 'immediateReindexObject':
self.assertEquals(m.activity_kw.get('tag'), '1')
self.assertEquals(m.activity_kw.get('tag'), '0')
else:
raise AssertionError, m.method_id
......
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