Commit 0353b627 authored by Cédric de Saint Martin's avatar Cédric de Saint Martin Committed by Gabriel Monnerat

[SlapOS Product][slapos_slap_tool] Don't use super keyword.

parent 05d2b29b
......@@ -36,7 +36,7 @@ class Simulator:
class TestSlapOSSlapToolMixin(testSlapOSMixin):
def afterSetUp(self, person=None):
super(TestSlapOSSlapToolMixin, self).afterSetUp()
testSlapOSMixin.afterSetUp(self)
self.portal_slap = self.portal.portal_slap
new_id = self.generateNewId()
......@@ -1686,7 +1686,7 @@ class TestSlapOSSlapToolPersonAccess(TestSlapOSSlapToolMixin):
person.recursiveImmediateReindexObject()
self.person = person
self.person_reference = person.getReference()
super(TestSlapOSSlapToolPersonAccess, self).afterSetUp(person=person)
TestSlapOSSlapToolMixin.afterSetUp(self, person=person)
def test_not_accessed_getComputerStatus(self):
self.login(self.person_reference)
......
......@@ -93,12 +93,12 @@ class testSlapOSMixin(ERP5TypeTestCase):
def _setUpDummyMailHost(self):
"""Do not play with NON persistent replacement of MailHost"""
if not self.isLiveTest():
super(testSlapOSMixin, self)._setUpDummyMailHost()
ERP5TypeTestCase._setUpDummyMailHost(self)
def _restoreMailHost(self):
"""Do not play with NON persistent replacement of MailHost"""
if not self.isLiveTest():
super(testSlapOSMixin, self)._restoreMailHost()
ERP5TypeTestCase._restoreMailHost(self)
def beforeTearDown(self):
if self.isLiveTest():
......
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