Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mock directories in scratch tests #770

Open
callumforrester opened this issue Jan 6, 2025 · 0 comments
Open

Mock directories in scratch tests #770

callumforrester opened this issue Jan 6, 2025 · 0 comments

Comments

@callumforrester
Copy link
Contributor

The tests in tests/unit_tests/cli/test_scratch.py use files in /tmp, this is a little unstable between environments (local dev, GH actions, deployment etc.) and should use mocks instead.

Acceptance Criteria

  • The file given uses mocks instead of temp files
  • The fixtures all use mocks
  • All tests still pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant