diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-08-03 15:11:02 +0200 |
|---|---|---|
| committer | Alexandre Flament <alex@al-f.net> | 2021-08-03 15:11:51 +0200 |
| commit | bd17544f82809ef57f09aa95dc735e7c9056717e (patch) | |
| tree | 1cd2ce749498c633fced43c79c6d83fa636a4e20 /searx | |
| parent | 34ffd08187d49b2e5de387f63662c18fda800064 (diff) | |
[fix] make test.robot: firefox profile: intl.accept_languages=en
make sure Firefox in test.robot asks for English pages
Diffstat (limited to 'searx')
| -rw-r--r-- | searx/testing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/testing.py b/searx/testing.py index e5c1bd313..b31ba8997 100644 --- a/searx/testing.py +++ b/searx/testing.py @@ -79,7 +79,7 @@ class SearxRobotLayer(): def run_robot_tests(tests): print('Running {0} tests'.format(len(tests))) for test in tests: - with Browser('firefox', headless=True) as browser: + with Browser('firefox', headless=True, profile_preferences={'intl.accept_languages': 'en'}) as browser: test(browser) |