Pytest-vcr-delete-on-fail

Latest version: v2.0.1

Safety actively analyzes 623368 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

2.0.1

What's Changed
* Maintenance: bump dependencies, update gh actions

2.0.0

- now compatible with `pytest>=7`
- merged `pytest.mark.vcr_delete_on_fail` argument `cassette_path_func` functionality into
its first argument, which is now called `target` (see the full [decorator signature](https://carlodepieri.github.io/pytest-vcr-delete-on-fail/api.html#id0))
- now `pytest.mark.vcr_delete_on_fail` `target` can take nested list / funcions ([relevant docs](https://carlodepieri.github.io/pytest-vcr-delete-on-fail/marker.html))
- added two context manager to offer alternatives to the marker: `delete_on_fail` and `vcr_and_dof` (6)
- added new [in-depth documentation](https://carlodepieri.github.io/pytest-vcr-delete-on-fail)
- added automated, strict type checking to the whole codebase (5)
- fix small edge cases bug
- refactored the whole test suite (4)

1.1.0

New features:
- `cassette_path_func`: the cassettes that are going to be deleted can now be determined by a function that will run after the test is complete, with the test context

Improvement:
- refactor codebase
- improved tooling (black) and code analysis (sonarqube)
- add automated release on pypi

**Full Changelog**: https://github.com/CarloDePieri/pytest-vcr-delete-on-fail/compare/v1.0.0...v1.1.0

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.