Spaces:
Running
Running
Download tests/scripts/conftest.py from dherain24/claude-proxy: direct link, hf CLI and curl.
- Browser
- Download file 355 Bytes
-
https://huggingface.co/spaces/dherain24/claude-proxy/resolve/main/tests/scripts/conftest.py
- Command line
-
hf download hf://spaces/dherain24/claude-proxy/tests/scripts/conftest.py
-
curl -L -o conftest.py https://huggingface.co/spaces/dherain24/claude-proxy/resolve/main/tests/scripts/conftest.py
355 Bytes
| """Keep caches from CI-script subprocess tests outside the checkout.""" | |
| from pathlib import Path | |
| import pytest | |
| def _isolate_powershell_module_cache( | |
| monkeypatch: pytest.MonkeyPatch, tmp_path: Path | |
| ) -> None: | |
| monkeypatch.setenv( | |
| "PSModuleAnalysisCachePath", str(tmp_path / "powershell-module-cache") | |
| ) | |