I try to create self.request and if I remember it start throwing error about threading...
I know they are really basic test and the only objective was to get some coverage, start testing and see the difficulty it represents... Richard On Wed, Apr 6, 2016 at 2:49 PM, Niphlod <niph...@gmail.com> wrote: > that test doesn't really assure recaptcha will ever work and it's > completely bogus: it just tries to enforce that serialization will work > exatcly as it is now. > the real issue is that there isn't a request anywhere > > On Wednesday, April 6, 2016 at 8:33:47 PM UTC+2, Richard wrote: >> >> it failed for the same reason >> >> On Wed, Apr 6, 2016 at 2:29 PM, Niphlod <nip...@gmail.com> wrote: >> >>> recaptcha should be discarded and recaptcha2 should be promoted as the >>> default. >>> >>> >>> On Wednesday, April 6, 2016 at 6:17:38 PM UTC+2, Richard wrote: >>>> >>>> Hello, >>>> >>>> https://github.com/web2py/web2py/blob/master/gluon/tools.py#L848 >>>> >>>> request = request or current.request >>>> self.request_vars = request and request.vars or >>>> current.request.vars >>>> >>>> As request would contains current.request why are trying the following >>>> assignation... >>>> >>>> I think it the origin of the failing of : >>>> >>>> https://ci.appveyor.com/project/web2py/web2py/build/1.0.462 >>>> >>>> I am not sure why as if I understand correctly current.request should >>>> contains the exact same thing as request... At least it is the assomption >>>> of the following line and "and-or" tricks... >>>> >>>> NOTE: Test is passing locally... >>>> >>>> Richard >>>> >>> -- >>> 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 web2py+un...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- > 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 web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.