From 4dd14ed039aaab5edb50758edeaf0aacab3d1e5b Mon Sep 17 00:00:00 2001 From: MeViMo Date: Wed, 13 Apr 2022 18:49:51 +0200 Subject: [PATCH] Syntax error in testing.rst --- docs/testing.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/testing.rst b/docs/testing.rst index e259f098..6f9d6ee1 100644 --- a/docs/testing.rst +++ b/docs/testing.rst @@ -142,9 +142,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