Skip to content

Releases: pytest-dev/pytest-django

3.8.0

06 Feb 02:53
Compare
Choose a tag to compare

Fix compatibility with pytest 5.x

29 Jun 16:14
Compare
Choose a tag to compare
v3.5.1

Release 3.5.1

3.5.0

03 Jun 14:22
7553d4b
Compare
Choose a tag to compare

Features
^^^^^^^^

  • Run tests in the same order as Django (#223)

  • Use verbosity=0 with disabled migrations (#729, #730)

Bugfixes
^^^^^^^^

  • django_db_setup: warn instead of crash with teardown errors (#726)

Misc
^^^^

  • tests: fix test_sqlite_database_renamed (#739, #741)

  • tests/conftest.py: move import of db_helpers (#737)

  • Cleanup/improve coverage, mainly with tests (#706)

  • Slightly revisit unittest handling (#740)

Minor fixes, compatibility with pytest 4.1

07 Jan 19:40
Compare
Choose a tag to compare

Minor bugfixes

13 Nov 08:40
Compare
Choose a tag to compare

3.4.4 (2018-11-13)

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.

Fixed OSError with arguments containing ``::`` on Windows (#641)

16 Sep 06:28
Compare
Choose a tag to compare

Pathlib fixes

20 Aug 16:31
Compare
Choose a tag to compare

3.4.2 (2018-08-20)

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

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