Spaces:
Sleeping
Sleeping
Download tests/conftest.py from procurement-tools/auto-form: direct link, hf CLI and curl.
- Browser
- Download file 280 Bytes
-
https://huggingface.co/spaces/procurement-tools/auto-form/resolve/main/tests/conftest.py
- Command line
-
hf download hf://spaces/procurement-tools/auto-form/tests/conftest.py
-
curl -L -o conftest.py https://huggingface.co/spaces/procurement-tools/auto-form/resolve/main/tests/conftest.py
280 Bytes
| # -*- coding: utf-8 -*- | |
| import os | |
| import sys | |
| # Repo root on sys.path so the app modules import directly. | |
| sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) | |
| # Deterministic AI backend — tests never hit the network. | |
| os.environ["AI_BACKEND"] = "off" | |