diff options
| author | Denis Ledoux <dle@odoo.com> | 2018-09-14 11:27:45 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2018-09-14 11:28:56 +0200 |
| commit | 4fb5c57dc564fa6440db337c48fd718aaab63bbc (patch) | |
| tree | 0db7e3164d06e78bfdd56713ecbb4a46317f5205 | |
| parent | 058b1993abf63a8c1cde78c1abf6ca887bbc3435 (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.py | 2 |
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: |
