[Product-Developers] Testing as an OpenId User
Wichert Akkerman
wichert at wiggy.net
Sat Jul 11 21:47:24 UTC 2009
On 7/11/09 10:33 PM, Jan Hackel wrote:
> I need to write a (browser) test where the current user is authenticated via
> OpenID. I am faced with various problems.
>
> First of all I cannot get plone.app.openid to install, because it fails to
> install plone.openid. I guess plone.openid needs to be registered as a product
> somehow.
>
> Then there is the question of how to login. I suppose, using the testbrowser
> to fill the login form won't work, or am I wrong? The login should of course
> work offline and without an actual valid openid login.
That pretty much means you can't use OpenID. There is nothing special
about OpenID users in Plone though - they are normal users, just like
every other user.
Wichert.
--
Wichert Akkerman <wichert at wiggy.net> It is simple to make things.
http://www.wiggy.net/ It is hard to make things simple.
More information about the Product-Developers
mailing list