__init__.py 366 B

1234567891011
  1. # SPDX-License-Identifier: AGPL-3.0-or-later
  2. # pylint: disable=missing-module-docstring,disable=missing-class-docstring,invalid-name
  3. import os
  4. from pathlib import Path
  5. # By default, in unit tests the user settings from
  6. # unit/settings/test_settings.yml are used.
  7. os.environ['SEARXNG_SETTINGS_PATH'] = str(Path(__file__).parent / "settings" / "test_settings.yml")