summaryrefslogtreecommitdiff
path: root/odoo/tools/func.py
diff options
context:
space:
mode:
authorChristophe Monniez <christophe@monniez.eu>2018-08-16 15:07:43 +0200
committerGitHub <noreply@github.com>2018-08-16 15:07:43 +0200
commit49fb7a4682bf57165f1964a36dca477ff86e2ae7 (patch)
tree9435f687c44dee92dec6b5d9e346cf46681fa230 /odoo/tools/func.py
parentf57bc96d322cb01858ee2c60437d65c49c4de348 (diff)
[FIX] tests: avoid traceback when websocket-client is not installed
The account module needs to import Form from "tests.common" causing a traceback when websocket-client module is not installed. As this module is only required for the tests, there is no reason to add it to the "requirements.txt" file. With this commit, Odoo account can be installed even when websocket-client is not installed, in that case, the HttpCase tests that needs to run Chrome headless will be skipped with a warning. Closes: #26404
Diffstat (limited to 'odoo/tools/func.py')
0 files changed, 0 insertions, 0 deletions