Pytest-drf

Latest version: v1.1.3

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

Scan your dependencies

Page 2 of 2

1.0.2

Changed
- Relaxed version pin on `pytest-assert-utils`

1.0.1

Changed
- Included LICENSE, CHANGELOG, and tests in source distribution

1.0.0

Added
- Introducing `pluralized` to ease use of expression methods
- Added tests

Changed
- `ForbidsAnonymousUsers` now expects a 403 status code, matching DRF's default permissions behaviour

Fixed
- Resolved incorrect MRO when declaring `UsesXYZMethod` base classes after `APIViewTest`
- Properly handle `headers` kwarg in API test client
- Prevent unintended Django settings accesses before pytest-django can set `DJANGO_SETTINGS_MODULE`

0.1.0

Added
- Introducing `APIViewTest` and `ViewSetTest` for quick scaffolding of DRF API tests

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.