Pytest-cases

Latest version: v3.8.6

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

Scan your dependencies

Page 12 of 20

1.12.2

Fixed deprecation warning [74](https://github.com/smarie/python-pytest-cases/issues/74)

1.12.1

- Now using module name and not file path to detect symbols in cases files that are imported from elsewhere and not created locally. Indeed that was causing problems on some ^platforms where a `.pyc` cache file is created. Fixes [72](https://github.com/smarie/python-pytest-cases/issues/72)

- Fixed `PluginValidationError` when `pytest_fixture_plus` or `pytest_parametrize_plus` were used in a `conftest.py` file. Fixes [71](https://github.com/smarie/python-pytest-cases/issues/71). According to discussion in [pytest#6475](https://github.com/pytest-dev/pytest/issues/6475), `pytest_fixture_plus` and `pytest_parametrize_plus` are now renamed to `fixture_plus` and `parametrize_plus` in order for pytest (pluggy) not to think they are hooks. Old aliases will stay around for a few versions, with a deprecation warning.

1.12.0

- Improved test ids for the cases where `fixture_ref` is used in the parameters list in `pytest_parametrize_plus`. Fixed [69](https://github.com/smarie/python-pytest-cases/issues/69). Thanks [`last-partizan`](https://github.com/last-partizan) for the suggestion !

- Fixed `TypeError: got an unexpected keyword argument 'indirect'` with `pytest` 5+. Fixed [70](https://github.com/smarie/python-pytest-cases/issues/70).

1.11.9

`FixtureClosureNode` is now able to properly handle `ignore_args`, and now supports that plugins append fixtures to the closure, such as pytest-asyncio. Added corresponding tests. Fixes [68](https://github.com/smarie/python-pytest-cases/issues/68)

1.11.8

Fixed `KeyError` issue happening when a fixture is not found. Now users will see the "normal" error message from pytest (`"fixture <name> not found"`). Fixed [67](https://github.com/smarie/python-pytest-cases/issues/67).

1.11.7

Fixed `ValueError` issue happening with indirectly parametrized fixtures. Fixed [64](https://github.com/smarie/python-pytest-cases/issues/64).

Page 12 of 20

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.