Releases: pytest-dev/pytest-django
Releases · pytest-dev/pytest-django
Fix Travis release process
3.4.1 Travis: use sqlite with py36-djmaster (faster)
3.4.0
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
^^^^^^^^
Compatibility
^^^^^^^^^^^^^
- Removed py dependency, use pathlib instead (#631).
Fix PyPI upload due to non-existing classifier
3.3.2 setup.py: remove Django 2.1 classifier to fix pypi upload
Fix regression with classmethod test in 3.3.0
Mail related fixtures, bug fixes; requires pytest 3.6
Features
^^^^^^^^
- Added new fixtures
django_mail_dnsname
anddjango_mail_patch_dns
,
used bymailoutbox
to monkeypatch theDNS_NAME
used in
:py:mod:django.core.mail
to improve performance and
reproducibility.
Bug fixes
^^^^^^^^^
Support Django 2.0, features, fixes
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.