Unit testing and @auth.requires_login()

16 views
Skip to first unread message

James O' Driscoll

unread,
Feb 8, 2015, 2:24:38 AM2/8/15
to web2py-d...@googlegroups.com
Hey all,

I am trying to unit test functions decorated with @auth.requires_login().

However even after I login, when I run a new function, say index(), I get an unauthenticated redirect to login page.

Any help with be great.

Regards,

James 

Niphlod

unread,
Feb 18, 2015, 5:35:10 PM2/18/15
to web2py-d...@googlegroups.com
how are you unittesting ?
Reply all
Reply to author
Forward
0 new messages