Commit 410dfb50 authored by Rafael Monnerat's avatar Rafael Monnerat

tests: Fixup! Typo :/

parent 8f44cd37
Pipeline #3766 skipped
......@@ -150,7 +150,7 @@ class testSlapOSMixin(ERP5TypeTestCase):
self.portal.portal_caches.updateCache()
if getattr(self.portal, 'is_site_bootstrapped', 0):
for alarm in self.portal.portal_alarms.contentValues():
if alarm_id.startswith("promise_slapos"):
if alarm.getId().startswith("promise_slapos"):
alarm.solve()
return
else:
......@@ -159,6 +159,8 @@ class testSlapOSMixin(ERP5TypeTestCase):
self.portal._p_changed = 1
transaction.commit()
def deSetUpPersistentDummyMailHost(self):
if 'MailHost' in self.portal.objectIds():
self.portal.manage_delObjects(['MailHost'])
......
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