i think you'll need to be able to set some of the hidden field parameters.
i have not tried it myself though.
Hmm, I'll need to look into this some more.
On Sat, Mar 12, 2011 at 3:04 AM, pbreit wrote:
> Wow, I'm not sure how or if you are going to be able to run a doctest on a
> form in a controller.
>
> Running it in a web2py shell only returns the form:
>
> In [1] : import os
> In [2] : execfile(os.pa
Wow, I'm not sure how or if you are going to be able to run a doctest on a
form in a controller.
Running it in a web2py shell only returns the form:
In [1] : import os
In [2] : execfile(os.path.join(request.folder,'controllers/default.py'))
In [3] : print do_nothing()
{'form': }
I cleaned up yo
3 matches
Mail list logo