Commit 351d1e1c authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: test: fixup

parent 62f30dce
......@@ -34,7 +34,11 @@ class TestBase_reindexAndSenseAlarm(SlapOSTestCaseMixinWithAbort):
# Ensure the alarms has a workflow history
for alarm_id in ['slapos_allocate_instance',
'slapos_free_compute_partition']:
self.portal.portal_alarms[alarm_id].edit(comment='')
alarm = self.portal.portal_alarms[alarm_id]
old_comment = alarm.getComment()
alarm.edit(comment='%s foo' % old_comment)
alarm.edit(comment=old_comment)
return super(TestBase_reindexAndSenseAlarm, self).afterSetUp()
def getIndexationDate(self, document):
......
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