This commit is contained in:
Kostiantyn Stoliarskyi 2023-06-07 16:21:28 +03:00
parent 40f0c6c3e5
commit 046a0a30aa
1 changed files with 2 additions and 2 deletions

View File

@ -101,11 +101,11 @@ def test_profile(client):
login(client, username=user.username, password="password")
# edit_profile
new_name = "Some other name"
new_name = "Some_other_name"
res = client.post(
"/user/edit_profile",
data={
"name": new_name,
"username": new_name,
"avatar_img": avatar_img,
},
follow_redirects=True,