On Feb 7, 9:17 am, Cédric Krier <[email protected]> wrote:
> On 06/02/11 19:08 -0800, Kurt Miebach wrote:
> > On Jan 28, 11:05 am, Cédric Krier <[email protected]> wrote:
> > > New modules have now scenario for testing like account_stock_continental:
> > >http://www.google.com/url?sa=D&q=http://hg.tryton.org/modules/account...
> >
> > I am using this to write some tests for my import scripts now.
> >
> > In the file scenario_account_stock_continental.rst lines 23-29 modules
> > are installed.
> > I would like to do this in version 1.8, is it possible? How do I have
> > to change the code?

> It should work the same way.
> Are you sure you don't override the config variable of the line 19?

Indeed I broke this part, now it works in 1.8, thank you.


Please allow another question:

I have the impression that each time I run this scenario the code
inserts another company instance, so the companies add up in the
unittest db.

How would I start with a fresh sqlite memory db on each call of the
script?

Kurt Miebach

-- 
[email protected] mailing list

Reply via email to