chore(tests): move pytest's cache directory out of OneDrive's way

Every test run this session logged the same warning: "PytestCacheWarning:
could not create cache path ...\.pytest_cache\v\cache\nodeids: [WinError 5]
Access is denied." The project lives under OneDrive on this machine, and
OneDrive's sync agent transiently locks files it's syncing — a classic
source of WinError 5 on Windows, and not something specific to this one
laptop's permissions.

`npm run test` now points pytest at .pytest-temp/.pytest-cache instead of
the default .pytest_cache, both gitignored. Harmless either way: it's
cache, not state.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
AFFAANh
2026-09-02 19:00:22 +05:30
co-authored by Claude Opus 5
parent 876b3150d5
commit 499ed903fa
2 changed files with 3 additions and 1 deletions
+2
View File
@@ -5,6 +5,8 @@ __pycache__/
*.py[cod]
*.egg-info/
.pytest_cache/
.pytest-temp/
.pytest-cache/
.ruff_cache/
.mypy_cache/
.coverage