diff options
| author | Christophe Monniez <moc@odoo.com> | 2017-12-19 13:50:09 +0100 |
|---|---|---|
| committer | Christophe Monniez <moc@odoo.com> | 2018-01-18 13:27:33 +0100 |
| commit | ad7bf6b9c9b3f23563adda0e941468570a14e477 (patch) | |
| tree | e06b0567b8f9c21af043b0f132754e26f596b72d /odoo/tools/test_reports.py | |
| parent | b356b190338e3ee032b9e3a7f670f76468965006 (diff) | |
[REM] config, loading: remove test-commit and test-report-directory
As there are few use cases for the --test-commit and --test-report-directory
options, they are removed.
Diffstat (limited to 'odoo/tools/test_reports.py')
| -rw-r--r-- | odoo/tools/test_reports.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/odoo/tools/test_reports.py b/odoo/tools/test_reports.py index 6b9b21d18c0..803d9fc18c5 100644 --- a/odoo/tools/test_reports.py +++ b/odoo/tools/test_reports.py @@ -40,9 +40,6 @@ def try_report(cr, uid, rname, ids, data=None, context=None, our_module=None, re if not res_data: raise ValueError("Report %s produced an empty result!" % rname) - if config['test_report_directory']: - open(os.path.join(config['test_report_directory'], rname+ '.'+res_format), 'wb+').write(res_data) - _logger.debug("Have a %s report for %s, will examine it", res_format, rname) if res_format == 'pdf': if res_data[:5] != b'%PDF-': |
