Re: [tryton-dev] Split tests and use SQLite memory database (issue224071)

2010-02-28 Thread Cédric Krier
On 28/02/10 12:03 -0800, Ian Wilson wrote: > I don't think I really understand how to run or create unit tests in > tryton. I have seen different configuration files for testing versus > production versus development in another project though. The parameter > db_type exists in the configuration fi

Re: [tryton-dev] Split tests and use SQLite memory database (issue224071)

2010-02-28 Thread Ian Wilson
I don't think I really understand how to run or create unit tests in tryton. I have seen different configuration files for testing versus production versus development in another project though. The parameter db_type exists in the configuration file now. Why can't that be used to pick which databa

Re: [tryton-dev] Split tests and use SQLite memory database (issue224071)

2010-02-28 Thread Cédric Krier
On 26/02/10 15:05 +0100, Cédric Krier wrote: > Please review this at http://codereview.appspot.com/224071/show > Is there anybody how has a good idea to make easy to change the database type for unittest. I think it is good to keep by default sqlite (because it is faster), but being able to test