Spaces:
Sleeping
Sleeping
Download tests/conftest.py from AnthonyTruchetPoC/persistent-docker: direct link, hf CLI and curl.
- Browser
- Download file 185 Bytes
-
https://huggingface.co/spaces/AnthonyTruchetPoC/persistent-docker/resolve/main/tests/conftest.py
- Command line
-
hf download hf://spaces/AnthonyTruchetPoC/persistent-docker/tests/conftest.py
-
curl -L -o conftest.py https://huggingface.co/spaces/AnthonyTruchetPoC/persistent-docker/resolve/main/tests/conftest.py
185 Bytes
| # conftest.py | |
| import pytest | |
| def unstub(): | |
| """Ensure calls patched by mockito are cleared after each test""" | |
| from mockito import unstub | |
| yield | |
| unstub() | |