> I think the problem lies in `gluon/contrib/webclient.py` as the test works > well when using another browser like firefox. > I just tried to call another action without `session.forget` before > calling `index`, but the test still failed after registration. >
Looking at the webclient.py code, it appears you can make a post request without any previous session -- it makes its own get request to set the CSRF token in the session. Anyway, it's not quite clear what you are doing. It may help to see the exact test you are running and how you are running it. Anthony -- 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) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

