use new django.url.reverse query kwarg

This commit is contained in:
Thomas Girod
2025-04-11 14:50:25 +02:00
parent 805ffc498f
commit ff220e67c1
6 changed files with 26 additions and 17 deletions

View File

@ -147,8 +147,8 @@ class TestUserProfilePicture:
reverse(
"core:file_delete",
kwargs={"file_id": user.profile_pict.pk, "popup": ""},
)
+ f"?next={user.get_absolute_url()}"
query={"next": user.get_absolute_url()},
),
)
@pytest.mark.parametrize(