From 4fb5c57dc564fa6440db337c48fd718aaab63bbc Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Fri, 14 Sep 2018 11:27:45 +0200 Subject: [PATCH] [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 --- odoo/tests/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: