Hello, Ryan.

The quickstart plugin supports repoze.who-testutil, you just need to make sure 
it gets the "skip_authentication" argument.

Ryan said:
> def add_auth(app):
>     return setup_sql_auth(app, User, Group, Permission, Session,
>         login_url = '/login',
>         login_handler = '/authenticate',
>         post_login_url = '/dashboard',
>         logout_handler = '/logout',
>         post_logout_url = '/login',
>         cookie_secret = 'abc',
>         translations = {
>             'user_name': 'nickname',
>             'group_name': 'name',
>             'permission_name': 'name'})


You should add skip_authentication=True if and only if you're testing.

HTH.
-- 
Gustavo Narea <xri://=Gustavo>.
| Tech blog: =Gustavo/(+blog)/tech  ~  About me: =Gustavo/about |
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to