You can use the webcliente and after construct the web2pyenv with data of
webclient if this is possible..
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
there is an example in the book about that, logged in user access the page
that requires login
ref :
http://web2py.com/books/default/chapter/29/14/other-recipes#Functional-testing
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
Hi, there is no problem using the webclient approach, the problem is
when I am using the web2pyenv approach ( simulating web2py shell
environment), I find it very useful in some cases, but I can't use it
with pages that requires registered users.
Greetings.
El 15/04/17 a las 20:54, Marlysson
You tried use the client web programatically of web2py to submit a post to
users/login using your credentials?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report
Hi, it looks great.
I am testing it and I'm getting issues when I try to test a controller
who uses a "@auth.requires_login()" decorator using the web2pyenv approach.
I am trying to log in a user using auth.login_bare(), but it always
throws a 303 redirect.
Any suggestion?
Greetings.
El
5 matches
Mail list logo