diff options
| author | Christophe Simonis <chs@odoo.com> | 2015-08-15 18:25:56 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2015-08-15 18:25:56 +0200 |
| commit | cf33db868e3b321fc316ddbf56e70451e7f5a65e (patch) | |
| tree | cfeb0adabba1a4b5d7a5d18ebd51605b2a4d6fd8 /openerp/tests | |
| parent | 7bf07f928e8ba169f07df6a58fd047f2e9f0d26f (diff) | |
[FIX] js tests: log full DOM on error
Diffstat (limited to 'openerp/tests')
| -rw-r--r-- | openerp/tests/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openerp/tests/common.py b/openerp/tests/common.py index c7ac812d91f..6bef7384f0d 100644 --- a/openerp/tests/common.py +++ b/openerp/tests/common.py @@ -314,7 +314,7 @@ class HttpCase(TransactionCase): _logger.error("phantomjs: %s", line_[0]) # The second part of the log is for debugging if len(line_) > 1: - _logger.info("phantomjs: \n%s", line.split('\n\n')[1]) + _logger.info("phantomjs: \n%s", line.split('\n\n', 1)[1]) pass break elif line.startswith("warning"): |
