Commit c9f550c7 authored by Łukasz Nowak's avatar Łukasz Nowak

Allow to override default behaviour in subclasses.

parent 7d814f74
......@@ -111,13 +111,19 @@ class TestVifibSlapWebServiceMixin(testVifibMixin):
assertUserCanAccessDocument =\
AssertPermissionMethod(Permissions.AccessContentsInformation)
def afterSetUp(self):
def fakeSlapAuth(self):
fakeSlapAuth()
def unfakeSlapAuth(self):
unfakeSlapAuth()
def afterSetUp(self):
self.fakeSlapAuth()
testVifibMixin.afterSetUp(self)
self.server_url = self.portal.portal_slap.absolute_url()
def beforeTearDown(self):
unfakeSlapAuth()
self.unfakeSlapAuth()
super(testVifibMixin, self).beforeTearDown()
def _loginAsUser(self, username):
......
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