__init__.py 246 B

12345
  1. import os
  2. from os.path import dirname, sep, abspath
  3. # In unit tests the user settings from unit/settings/test_settings.yml are used.
  4. os.environ['SEARXNG_SETTINGS_PATH'] = abspath(dirname(__file__) + sep + 'settings' + sep + 'test_settings.yml')