def afterSetUp(self): PloneSessionTestCase.afterSetUp(self) self.app.folder = self.folder if self.folder.pas.hasObject("oauth"): self.app.folder.pas._delObject("oauth") self.app.folder.pas._setObject("oauth", OAuthPlugin("oauth"))
def afterSetUp(self): PloneSessionTestCase.afterSetUp(self) self.app.folder = self.folder if self.folder.pas.hasObject("openid"): self.app.folder.pas._delObject("openid") self.app.folder.pas._setObject("openid", OpenIdPlugin("openid"))