Spaces:
Sleeping
Sleeping
Download tests/conftest.py from parvpareek/cache-env: direct link, hf CLI and curl.
- Browser
- Download file 162 Bytes
-
https://huggingface.co/spaces/parvpareek/cache-env/resolve/main/tests/conftest.py
- Command line
-
hf download hf://spaces/parvpareek/cache-env/tests/conftest.py
-
curl -L -o conftest.py https://huggingface.co/spaces/parvpareek/cache-env/resolve/main/tests/conftest.py
162 Bytes
| import pytest | |
| def reset_env_singleton(): | |
| import server.app as sa | |
| sa._singleton = None | |
| yield | |
| sa._singleton = None | |