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