[web2py:32881] web2py saves space to mssql during registration process

2009-10-14 Thread bm
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 -

[web2py:32885] Re: web2py saves space to mssql during registration process

2009-10-14 Thread bm
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

[web2py:32580] Unit testing Auth functions

2009-10-09 Thread bm
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: