示例#1
0
 def createPlugin(self):
     from plone.openid.tests.utils import MockPAS
     from plone.openid.tests.utils import MockSite
     from plone.openid.plugins.oid import OpenIdPlugin
     plugin=OpenIdPlugin("openid")
     return plugin.__of__((MockPAS()).__of__(MockSite()))
 def createPlugin(self):
     from plone.openid.tests.utils import MockPAS
     from plone.openid.plugins.oid import OpenIdPlugin
     plugin=OpenIdPlugin("openid")
     pas=MockPAS()
     return plugin.__of__(pas)
示例#3
0
 def createPlugin(self):
     from plone.openid.tests.utils import MockPAS
     from plone.openid.plugins.oid import OpenIdPlugin
     plugin = OpenIdPlugin("openid")
     pas = MockPAS()
     return plugin.__of__(pas)
示例#4
0
 def createPlugin(self):
     from plone.openid.tests.utils import MockPAS
     from plone.openid.tests.utils import MockSite
     from plone.openid.plugins.oid import OpenIdPlugin
     plugin = OpenIdPlugin("openid")
     return plugin.__of__((MockPAS()).__of__(MockSite()))