mirror of
https://github.com/searxng/searxng
synced 2024-01-01 18:24:07 +00:00
[fix] make test.robot: firefox profile: intl.accept_languages=en
make sure Firefox in test.robot asks for English pages
This commit is contained in:
parent
34ffd08187
commit
bd17544f82
@ -79,7 +79,7 @@ class SearxRobotLayer():
|
|||||||
def run_robot_tests(tests):
|
def run_robot_tests(tests):
|
||||||
print('Running {0} tests'.format(len(tests)))
|
print('Running {0} tests'.format(len(tests)))
|
||||||
for test in 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)
|
test(browser)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user