Testfixtures

Latest version: v8.2.0

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

Scan your dependencies

Page 12 of 23

4.14.0

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

- Added helpers for testing with :doc:`django <django>`
:class:`~django.db.models.Model` instances.

4.13.5

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

- :func:`compare` now correctly compares nested empty dictionaries when using
``ignore_eq=True``.

4.13.4

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

- Keep the `Reproducible Builds`__ guys happy.

__ https://reproducible-builds.org/

4.13.3

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

- :func:`compare` now better handles equality comparison with ``ignore_eq=True``
when either of the objects being compared cannot be hashed.

4.13.2

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

- Fixed a bug where a :class:`LogCapture` wouldn't be cleared when used via
:func:`log_capture` on a base class and sub class execute the same test.

Thanks to "mlabonte" for the bug report.

4.13.1

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

- When ``ignore_eq`` is used with :func:`compare`, fall back to comparing by
hash if not type-specific comparer can be found.

Page 12 of 23

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.