On 28/01/11 11:01 +0100, Paul J Stevens wrote:
> On 2011-01-27 23:02, Kurt Miebach wrote:
> > 
> > If not, what would you recommend and how do you handle this?
> > 
> > I wonder if it could be don writing my own server side python script
> > to save and restore the settings using trytond.backend
> 
> Doing policy configurations like this can be done by writing a script.
> I've used proteus with great results for just what you describe: taking
> a bare database, install modules, define users, a company, chart of
> accounts, parties, etc...
> 
> I remember seeing extensive doctest scripts on rietveld, and wrote my
> own migration scripts based on them. I don't know if they are still
> around somewhere.
> 
> But the test code in proteus should also get you going:
> 
> http://hg.tryton.org/proteus/file/ddd2c1be2ef1/proteus/tests/test_model.py

New modules have now scenario for testing like account_stock_continental:

    
http://hg.tryton.org/modules/account_stock_continental/file/ee7d044915af/tests/scenario_account_stock_continental.rst

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgprMdh5YJVOe.pgp
Description: PGP signature

Reply via email to