Download tests/unit/__init__.py from Openyx/xcdv: direct link, hf CLI and curl.
- Browser
- Download file 376 Bytes
-
https://huggingface.co/spaces/Openyx/xcdv/resolve/main/tests/unit/__init__.py
- Command line
-
hf download hf://spaces/Openyx/xcdv/tests/unit/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Openyx/xcdv/resolve/main/tests/unit/__init__.py
376 Bytes
| # SPDX-License-Identifier: AGPL-3.0-or-later | |
| # pylint: disable=missing-module-docstring,disable=missing-class-docstring,invalid-name | |
| import os | |
| from pathlib import Path | |
| # By default, in unit tests the user settings from | |
| # unit/settings/test_settings.yml are used. | |
| os.environ['SEARXNG_SETTINGS_PATH'] = str(Path(__file__).parent / "settings" / "test_settings.yml") | |