Skip to content

Commit

Permalink
systemtests: fix string comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergkemper committed Nov 27, 2019
1 parent d5f2277 commit ef8c959
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions webui/tests/selenium/webui-selenium-test.py
Expand Up @@ -536,10 +536,10 @@ def get_env():
SeleniumTest.chromedriverpath = chromedriverpath

chromeheadless = os.environ.get('BAREOS_WEBUI_CHROME_HEADLESS')
if chromeheadless:
SeleniumTest.chromeheadless = chromeheadless
else:
if not chromeheadless.lower() in ['false', '0', 'n', 'no', 'off']:
SeleniumTest.chromeheadless = True
else:
SeleniumTest.chromeheadless = False

browser = os.environ.get('BAREOS_WEBUI_BROWSER')
if browser:
Expand Down

0 comments on commit ef8c959

Please sign in to comment.