fix dict syntax in testing doc

This commit is contained in:
Abdur-Rahmaan Janhangeer 2022-02-26 11:26:09 +04:00 committed by David Lord
parent a466fc3ada
commit 21ee19c1b7
No known key found for this signature in database
GPG key ID: 7A1C87E3F5BC42A8

View file

@ -144,9 +144,9 @@ use ``pathlib.Path`` to get files relative to the current test file.
def test_edit_user(client):
response = client.post("/user/2/edit", data={
name="Flask",
theme="dark",
picture=(resources / "picture.png").open("rb"),
"name":"Flask",
"theme":"dark",
"picture":(resources / "picture.png").open("rb"),
})
assert response.status_code == 200