-
Committer:
trp-bzr-bot
-
Author(s):
Kersten Jeremy
-
Date:
2014-03-19 10:48:47 UTC
-
mfrom:
(4825.1.437 7.0)
-
Revision ID:
jke@openerp.com-20140319104847-xmsvrs1mu85ed3ht
[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