~savoirfairelinux-openerp/openobject-server/7.0-add-fr_CA

Viewing all changes in revision 5262.

  • Committer: Kersten Jeremy
  • Date: 2014-03-19 10:48:47 UTC
  • Revision ID: jke@openerp.com-20140319104847-6r2c70gapocn2wxq
[FIX] Fix the yml test with option --test-file. 

1 -
There was a confusing between kind and mode.
Due to the mode 'test', there are many part of code who was not executed.
The right value is kind='test', and arbitrary mode='init' (or 'update')

2 -
The yml test was always roolbacked, without check that command line had '--test-commit'.
It's has been fixed, now we check if param --test-commit is existing, else we roolback the transaction.

Rem for forward: function in trunk=saas-4 has been moved in : openerp/service/server.py - def load_test_file_yml

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: