From 21ee19c1b71127f8bbe6627321514389029f85d5 Mon Sep 17 00:00:00 2001 From: Abdur-Rahmaan Janhangeer Date: Sat, 26 Feb 2022 11:26:09 +0400 Subject: [PATCH] fix dict syntax in testing doc --- docs/testing.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/testing.rst b/docs/testing.rst index 74f722a0..5e9cc1a1 100644 --- a/docs/testing.rst +++ b/docs/testing.rst @@ -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