mirror of
https://github.com/searxng/searxng.git
synced 2024-11-08 22:30:09 +01:00
d1cffc55cb
Add a new environment variable SEARX_DISABLE_ETC_SETTINGS to disable loading of /etc/searx/settings.yml unit tests: * set SEARX_DISABLE_ETC_SETTINGS to 1 * remove SEARX_SETTINGS_PATH if it exists
6 lines
134 B
Python
6 lines
134 B
Python
import os
|
|
|
|
os.environ['SEARX_DEBUG'] = '1'
|
|
os.environ['SEARX_DISABLE_ETC_SETTINGS'] = '1'
|
|
os.environ.pop('SEARX_SETTINGS_PATH', None)
|