Skip to content

Releases: pytest-dev/pytest-django

Fix Travis release process

16 Aug 19:22
Compare
Choose a tag to compare
3.4.1

Travis: use sqlite with py36-djmaster (faster)

3.4.0

16 Aug 17:56
Compare
Choose a tag to compare

3.4.0 (2018-08-16)

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).

Fix PyPI upload due to non-existing classifier

21 Jun 18:15
Compare
Choose a tag to compare
3.3.2

setup.py: remove Django 2.1 classifier to fix pypi upload

Fix regression with classmethod test in 3.3.0

21 Jun 17:54
Compare
Choose a tag to compare

3.3.1 (2018-06-21)

Bug fixes
^^^^^^^^^

  • Fixed test for classmethod with Django TestCases again (#618,
    introduced in #598 (3.3.0)).

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

  • Support Django 2.1 (no changes necessary) (#614).

Mail related fixtures, bug fixes; requires pytest 3.6

15 Jun 20:17
Compare
Choose a tag to compare

Features
^^^^^^^^

  • Added new fixtures django_mail_dnsname and django_mail_patch_dns,
    used by mailoutbox to monkeypatch the DNS_NAME used in
    :py:mod:django.core.mail to improve performance and
    reproducibility.

Bug fixes
^^^^^^^^^

  • Fixed test for classmethod with Django TestCases (#597, #598).
  • Fixed RemovedInPytest4Warning: MarkInfo objects are deprecated (#596, #603)
  • Fixed scope of overridden settings with live_server fixture: previously they
    were visible to following tests (#612).

Support Django 2.0, features, fixes

14 Apr 09:31
Compare
Choose a tag to compare

3.2.0

Features
^^^^^^^^

  • Added new fixture django_assert_num_queries for testing the number of
    database queries (#387).
  • --fail-on-template-vars has been improved and should now return
    full/absolute path (#470).
  • Support for setting the live server port (#500).
  • unittest: help with setUpClass not being a classmethod (#544).

Bug fixes
^^^^^^^^^

  • Fix --reuse-db and --create-db not working together (#411).
  • Numerous fixes in the documentation. These should not go unnoticed 🌟

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

  • Support for Django 2.0 has been added.
  • Support for Django before 1.8 has been dropped.