There's a problem while registering a user when web2py is using
mssql.
Here are the pertinent pieces to reproduce the problem:
- web2py version = 1.67.2
- web2py connected to mssql via pyodbc and freetds
- registration_requires_verification = True
- registration_requires_approval = False
-
One minor correction to the data below, web2py is not saving a space
from mssql but, is instead, saving the empty string to mssql and
*reading* the empty string as a space from mssql and then the if test
evaluates to true.
On Oct 14, 10:59 am, bm bram4am...@gmail.com wrote:
There's a problem
Does anyone know how to unit test the auth functions in web2py?
If so, could you please send examples?
So far, using the example unit test provided here:
http://www.web2py.com/AlterEgo/default/show/213 as the basis, I've
attempted to call http://site/default/user/register.
Here's an example:
3 matches
Mail list logo