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.
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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytest-litter-0.0.4.tar.gz.
File metadata
- Download URL: pytest-litter-0.0.4.tar.gz
- Upload date:
- Size: 21.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7e531a58de28dde614c40937688928fd8b1122a84fca9b0d10b5a4565985b62d
|
|
| MD5 |
9eea659f97ac6b82009ab2970c217e18
|
|
| BLAKE2b-256 |
73ac0bad9f7e390863594a5a8d30f005ac3de551d9884b428df0b6f32ef8608d
|
File details
Details for the file pytest_litter-0.0.4-py3-none-any.whl.
File metadata
- Download URL: pytest_litter-0.0.4-py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
043ac94a2ff52b5fb5d4e4871403ec2044f2d1ea0564e0cda1211bfc276f74c8
|
|
| MD5 |
61e05d0a4089a41ea6a9ea9b9a409305
|
|
| BLAKE2b-256 |
67ca70dfc8b4b1f11bad2de3f865cd351bcfb964a07f8bac610e084a155a86be
|