Setting the reset_sequences parameter from the pytest.mark.django_db
decorator to True implies to also set the transactional one to True.
That requirement was hardened in latest pytest-django release.
Differential D6718
tests: Fix failures since pytest-django 4.5.0 release anlambert on Dec 1 2021, 5:11 PM. Authored by Tags None Subscribers None
Details
Setting the reset_sequences parameter from the pytest.mark.django_db That requirement was hardened in latest pytest-django release.
Diff Detail
Event TimelineComment Actions Build is green Patch application report for D6718 (id=24404)Rebasing onto 5d35154366... Current branch diff-target is up to date. Changes applied before testcommit 284eec7e758c24192153a7f2aea08067bcfb1ad2 Author: Antoine Lambert <anlambert@softwareheritage.org> Date: Wed Dec 1 16:48:50 2021 +0100 tests: Fix failures since pytest-django 4.5.0 release Setting the reset_sequences parameter from the pytest.mark.django_db decorator to True implies to also set the transactional one to True. That requirement was hardened in latest pytest-django release. See https://jenkins.softwareheritage.org/job/DWAPPS/job/tests-on-diff/1255/ for more details. |