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

tests: Fixup! Typo :/

parent 8f44cd37
...@@ -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:
...@@ -159,6 +159,8 @@ class testSlapOSMixin(ERP5TypeTestCase): ...@@ -159,6 +159,8 @@ class testSlapOSMixin(ERP5TypeTestCase):
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():
self.portal.manage_delObjects(['MailHost']) 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