Hugging Face
Models
Datasets
Spaces
Buckets
new
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Spaces:
parvpareek
/
cache-env
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
cache-env
/
tests
/
conftest.py
Parv Pareek
done
e75c8ce
about 1 month ago
raw
Copy download link
history
blame
contribute
delete
Safe
162 Bytes
import
pytest
@pytest.fixture(
autouse=
True
)
def
reset_env_singleton
():
import
server.app
as
sa
sa._singleton =
None
yield
sa._singleton =
None