diff options
| author | Alexandre Flament <alex@al-f.net> | 2021-05-20 13:31:53 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-20 13:31:53 +0200 |
| commit | 0c1ab0227df8e7d7bd9d0d0fff3337a3847e63cf (patch) | |
| tree | 09a11ac4fd807c9fd4de92cdbd0a17c49ceefca0 /tests | |
| parent | 94e6ed6110d140d4d1006e286a05d178090d9d78 (diff) | |
| parent | d1cffc55cb5421c6c56f54124ded202a3332a676 (diff) | |
Merge pull request #84 from searxng/fix-test-ignore-etc-settings
[fix] unit test: don't load /etc/searx/settings.yml
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/__init__.py b/tests/__init__.py index 18bf7cad8..cb43fc22a 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,2 +1,5 @@ import os + os.environ['SEARX_DEBUG'] = '1' +os.environ['SEARX_DISABLE_ETC_SETTINGS'] = '1' +os.environ.pop('SEARX_SETTINGS_PATH', None) |