5946cc860f- Add patch fix-use-of-mail-outbox.patch: * Fix use of django.mail.outbox with Django 5.2.
devel
Steve Kowalik2025-07-28 06:06:28 +00:00
e4e3016752Accepting request 1276724 from devel:languages:python:djangoAna Guerrero2025-05-13 18:12:07 +00:00
afda1936c8- Update to 4.11.1: * Compatibility + Added official support for Django 5.2. + Added official support for Python 3.13. + Added official support for Django 5.1. + Dropped support for Django 3.2 and 4.1. + Official Django 5.0 support. + Official Python 3.12 support. + Drop support for Python version 3.5, 3.6 & 3.7. + Drop official support for Django 4.0 and 2.2 + Drop support for pytest < 7. * Improvements + Added using argument to django_assert_num_queries and django_assert_max_num_queries to easily specify the database alias to use. + Respect the string_if_invalid template setting when --fail-on-template-vars is active and pytest.mark.ignore_template_errors is used. + Avoid running database migrations for django.test.SimpleTestCase unittest tests. + Added pytest_django.asserts.assertMessages() to mimic the behaviour of the django.contrib.messages.test.MessagesTestMixin.assertMessages method for Django versions >= 5.0. + The Django test tags from the previous release now works on any django.test.SimpleTestCase. + Add support for setting available_apps in the pytest.mark.django_db marker. + Show Django's version in the pytest django report header. + Add precise pytest_django.asserts.assertQuerySetEqual typing. * BugfixesSteve Kowalik2025-05-12 06:50:08 +00:00
e4f0dce9d2- Update to 3.9.0: * Improve test ordering with Django test classes (#830) * Remove import of pkg_resources for parsing pytest version (performance) (#826) * Work around unittest issue with pytest 5.4.{0,1} (#825) * Don't break --failed-first when re-ordering tests (#819, #820) * pytest_addoption: use group.addoption (#833)
Tomáš Chvátal
2020-04-03 10:24:31 +00:00
5a0fde3464- Update to 3.7.0: * Monkeypatch pytest to not use `TestCase.debug with unittests, instead of patching it into Django (#782). * Work around pytest crashing due to pytest.fail being used from within the DB blocker, and pytest trying to display an object representation involving DB access (#781). pytest-django uses a RuntimeError` now instead.
Tomáš Chvátal
2019-11-15 10:52:28 +00:00
5fb6336530- Update to 3.5.0: * Run tests in the same order as Django (#223) * Use verbosity=0 with disabled migrations (#729, #730) * django_db_setup: warn instead of crash with teardown errors (#726) * 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)
Tomáš Chvátal
2019-06-17 12:14:19 +00:00