summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2018-09-14 11:27:45 +0200
committerDenis Ledoux <dle@odoo.com>2018-09-14 11:28:56 +0200
commit4fb5c57dc564fa6440db337c48fd718aaab63bbc (patch)
tree0db7e3164d06e78bfdd56713ecbb4a46317f5205
parent058b1993abf63a8c1cde78c1abf6ca887bbc3435 (diff)
[FIX] tests: web tests, chromium fallback
On Ubuntu, the chromium executable is `chromium-browser`, On other distributions, such as debian, it's `chromium`. We therefore add another fallback
-rw-r--r--odoo/tests/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/tests/common.py b/odoo/tests/common.py
index efddd179a26..fd2824ced76 100644
--- a/odoo/tests/common.py
+++ b/odoo/tests/common.py
@@ -457,7 +457,7 @@ class ChromeBrowser():
def executable(self):
system = platform.system()
if system == 'Linux':
- for bin_ in ['google-chrome', 'chromium-browser']:
+ for bin_ in ['google-chrome', 'chromium', 'chromium-browser']:
try:
return find_in_path(bin_)
except IOError: