Pytest-django

Latest version: v4.8.0

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

Scan your dependencies

Page 3 of 4

3.4.5

3.4.4

------------------

Bugfixes
^^^^^^^^

* Refine the django.conf module check to see if the settings really are
configured (668).
* Avoid crash after OSError during Django path detection (664).

Features
^^^^^^^^

* Add parameter info to fixture assert_num_queries to display additional message on failure (663).

Docs
^^^^

* Improve doc for django_assert_num_queries/django_assert_max_num_queries.
* Add warning about sqlite specific snippet + fix typos (666).

Misc
^^^^

* MANIFEST.in: include tests for downstream distros (653).
* Ensure that the LICENSE file is included in wheels (665).
* Run black on source.

3.4.3

3.4.2

------------------

Bugfixes
^^^^^^^^

* Changed dependency for pathlib to pathlib2 (636).
* Fixed code for inserting the project to sys.path with pathlib to use an
absolute path, regression in 3.4.0 (637, 638).

3.4.1

3.4.0

------------------

Features
^^^^^^^^

* Added new fixture :fixture:`django_assert_max_num_queries` (547).
* Added support for ``connection`` and returning the wrapped context manager
with :fixture:`django_assert_num_queries` (547).
* Added support for resetting sequences via
:fixture:`django_db_reset_sequences` (619).

Bugfixes
^^^^^^^^

* Made sure to not call django.setup() multiple times (629, 531).

Compatibility
^^^^^^^^^^^^^

* Removed py dependency, use pathlib instead (631).

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.