mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 04:19:25 +00:00
use new django.url.reverse
query
kwarg
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user