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

Unit tests write to real file system #721

Open
buhtz opened this issue Jun 15, 2023 · 0 comments
Open

Unit tests write to real file system #721

buhtz opened this issue Jun 15, 2023 · 0 comments

Comments

@buhtz
Copy link
Contributor

buhtz commented Jun 15, 2023

It seems that your unittests do write to the real filesystem and not cleaning up.

I have files and folders under /tmp/pytest-of-user.

  1. Minimally the tests should clean up after writing to the file system.
  2. Never write to the file system. Just use pyfakefs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants