Skip to content

django-assert-queries 2.0.1

Latest

Choose a tag to compare

@chipx86 chipx86 released this 23 Mar 06:09
· 8 commits to main since this release

The full details for this release can be found in the release notes.

Installation

$ pip3 install django-assert-queries==2.0.1

Changes

Bug Fixes

  • Assertion results now appear directly below the assertion call in
    pytest-based unit tests.

    Previously, pytest would show a stack trace that goes all the way from the
    assertion call through the assertion logic to the results, which was a lot
    of unwanted additional information. This is now hidden in pytest.

  • Fixed displaying mismatched sets of models.

    Previously, when comparing unordered sets of models, our attempt to order
    them would result in a crash. We now catch this case and display it an
    alternate way.

  • Fixed comparing models in query assertions when comparing two of the same
    instance.

Learn More

Release notes
Documentation
PyPI