Great
Where can i find some discussion on this file ?
i get an error at line 149
https://github.com/viniciusban/web2py.test/blob/master/tests/conftest.py#L149

Regards

2017-08-17 12:53 GMT+01:00 José Luis Redrejo <[email protected]>:

> Antonio, I would not recommend you usint unittest classes, if you read any
> modern Python testing book or article, they all recommend using pytest.
> I used it in this project https://github.com/jre
> drejo/bancal/tree/master/web2py/applications/bancal
> just in case it can help you.
>
> Regards
> José L.
>
> 2017-08-17 13:11 GMT+02:00 António Ramos <[email protected]>:
>
>> Hello i´m trying to test my web2py app....
>> Never used any testing before, so be patient..
>>
>> after reading this
>>
>> http://www.web2py.com/AlterEgo/default/show/260
>>
>> and this
>> http://www.web2py.com/AlterEgo/default/show/213
>>
>>
>> i tried the code but got this error
>>
>> [image: Imagem inline 1]
>>
>> i opened globals.py and saw init gets 2 params
>> def __init__(self, env):
>>
>> and the code
>> self.request=Request() is missing 1 param..
>>
>> any help?
>>
>> regards
>> António
>>
>> --
>> 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.
>>
>
> --
> 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.
>

-- 
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.

Reply via email to