As far as the py.test docs says, you shouldn’t need to rewrite them.

py.test understands unittest tests.


> On 3 May 2015, at 09:17, Niphlod <[email protected]> wrote:
> 
> you need to rewrite the entire test-suite.
> 
> On Thursday, April 30, 2015 at 8:46:38 PM UTC+2, Richard wrote:
> Simone,
> 
> How can I run unittest with py.test?
> 
> Richard
> 
> On Wed, Apr 29, 2015 at 4:38 PM, Richard Vézina <[email protected] 
> <javascript:>> wrote:
> my bad from not form...
> 
> :(
> 
> Richard
> 
> On Wed, Apr 29, 2015 at 4:34 PM, Richard Vézina <[email protected] 
> <javascript:>> wrote:
> that's how validators.py is added!!
> 
> I don't find how to import smart_query
> 
> from pydal.helpers.methods import smart_query
> 
> the above returns "invalid syntax"
> 
> Richard
> 
> On Wed, Apr 29, 2015 at 4:28 PM, Niphlod <[email protected] <javascript:>> 
> wrote:
> oh my. Add to __init__ ^_^'
> 
> On Wednesday, April 29, 2015 at 10:18:51 PM UTC+2, Richard wrote:
> One more I don't see my news tests executing...
> 
> Is there anything else to do then add an new file of unitttest into 
> pydal/tests
> 
> To add news cases?
> 
> Richard
> 
> On Wed, Apr 29, 2015 at 4:13 PM, Richard Vézina <[email protected] <>> 
> wrote:
> :)
> 
> I don't test enough!!
> 
> Richard
> 
> On Wed, Apr 29, 2015 at 4:08 PM, Niphlod <[email protected] <>> wrote:
> some time I just don't know what's going on with my writing. Am I really that 
> obscure ?
> 
> can you spot the difference from mine
> 
> python -m unittest -v tests
> 
> and yours
> 
> python -m unittest -v validation.py
> 
> ?
> 
> To be more precise (and abnoxious, maybe). Place yourself in the root dir of 
> pydal. then copy 
> 
> python -m unittest -v tests
> 
> and paste to your commandline. Then press enter. 
> 
> 
> -- 
> Resources:
> - http://web2py.com <http://web2py.com/>
> - http://web2py.com/book <http://web2py.com/book> (Documentation)
> - http://github.com/web2py/web2py <http://github.com/web2py/web2py> (Source 
> code)
> - https://code.google.com/p/web2py/issues/list 
> <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 
> <https://groups.google.com/d/optout>.
> 
> 
> 
> -- 
> Resources:
> - http://web2py.com <http://web2py.com/>
> - http://web2py.com/book <http://web2py.com/book> (Documentation)
> - http://github.com/web2py/web2py <http://github.com/web2py/web2py> (Source 
> code)
> - https://code.google.com/p/web2py/issues/list 
> <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] <javascript:>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> 
> 
> 
> 
> -- 
> Resources:
> - http://web2py.com <http://web2py.com/>
> - http://web2py.com/book <http://web2py.com/book> (Documentation)
> - http://github.com/web2py/web2py <http://github.com/web2py/web2py> (Source 
> code)
> - https://code.google.com/p/web2py/issues/list 
> <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] 
> <mailto:[email protected]>.
> For more options, visit https://groups.google.com/d/optout 
> <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