Pytest plugin which verifies that tests do not modify file trees.
Project description
pytest-litter
Pytest plugin that, when installed, will fail test cases which create or delete files. Tests should not modify the file tree, because it can be a cause of test pollution as well as accidental committing of files to the repo.
To use it, simply run
pip install pytest-litter
The only dependency is pytest
itself.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytest-litter-0.0.4.tar.gz
(21.9 kB
view hashes)
Built Distribution
Close
Hashes for pytest_litter-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 043ac94a2ff52b5fb5d4e4871403ec2044f2d1ea0564e0cda1211bfc276f74c8 |
|
MD5 | 61e05d0a4089a41ea6a9ea9b9a409305 |
|
BLAKE2b-256 | 67ca70dfc8b4b1f11bad2de3f865cd351bcfb964a07f8bac610e084a155a86be |