__init__.py 249 B

123456
  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['SEARX_SETTINGS_PATH'] = abspath(
  5. dirname(__file__) + sep + 'settings' + sep + 'test_settings.yml')