Re: [web2py] Re: Unittest Web2py with Test Runner Error database is locked

2016-02-11 Thread Maelle Taurand
; > > On Wednesday, February 10, 2016 at 11:53:27 AM UTC-8, Maelle Taurand wrote: >> >> >> Hy, >> >> I want to make unit test with web2py. >> >> I follow this page : >> https://pythonhosted.org/web2py_utils/test_runner.html. >> >>

[web2py] Unittest Web2py with Test Runner Error database is locked

2016-02-10 Thread Maelle Taurand
Hy, I want to make unit test with web2py. I follow this page : https://pythonhosted.org/web2py_utils/test_runner.html. Is Web2py Test Runner always a good way for unittesting ? After running execute_tests.py, i have got thie result and an error (logged in report file) *Resu

[web2py] Re: How to make a copy of db for unittest

2015-10-29 Thread Maelle Taurand
Hi, thanks for response. I am using MySQL. Le vendredi 2 octobre 2015 23:06:29 UTC+2, Maelle Taurand a écrit : > > > Hello > I'm trying unittest with web2py. I found this article : > http://www.web2py.com/AlterEgo/default/show/260 > > It works only when the db i

[web2py] web2py : Attribute Error with MySQL

2015-10-29 Thread Maelle Taurand
27;,'string'), Field('emailContact','string') ) The table is creating in the Mysql database : no problem. But when I add a new field in the definition of the table (db.py) *the SQL order to alter the mysql table is not generated*. An *Attrib

[web2py] How to make a copy of db for unittest

2015-10-02 Thread Maelle Taurand
Hello I'm trying unittest with web2py. I found this article : http://www.web2py.com/AlterEgo/default/show/260 It works only when the db is the current database (db object). I need help to make a copy of database in order to not run unittest on the real database ? Thanks for answers -- Resou