diff options
| author | Simon Lejeune <sle@openerp.com> | 2019-07-11 15:01:27 +0000 |
|---|---|---|
| committer | Simon Lejeune <sle@openerp.com> | 2019-07-12 07:14:38 +0000 |
| commit | 22221a2b573a4daad9457bb2329a84bcef15d5df (patch) | |
| tree | 3f0c55259078e6fe73d9e280f667643f596b62b1 /addons/website_slides/tests/test_statistics.py | |
| parent | 50163143a915635eda08dc1f053e057c38871f42 (diff) | |
[REF] server: better warnings when using --test-file
We add two warnings to make the --test-file argument more user friendly:
- one when the test file does not exist
example:
./odoo-bin -d master --test-file ./addonss/stock/tests/test_quant.py
before:
INFO master odoo.service.server: loading test file ./addonss/stock/tests/test_quant.py
after:
WARNING master odoo.service.server: test file ./addonss/stock/tests/test_quant.py cannot be found
- one when the test file is not a python file
In both cases, nothing was being tested but the server did not say why.
closes odoo/odoo#34808
Signed-off-by: Xavier Dollé (xdo) <xdo@odoo.com>
Diffstat (limited to 'addons/website_slides/tests/test_statistics.py')
0 files changed, 0 insertions, 0 deletions
