From fe15620df39dfc26a97005968425f1e967f1daed Mon Sep 17 00:00:00 2001 From: Chen Rotem Levy Date: Sat, 13 Jun 2020 15:50:14 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Update=20and=20clarify=20testing?= =?UTF-8?q?=20function=20name=20(#1395)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit test_create_existing_token -> test_create_existing_item --- docs_src/app_testing/test_main_b.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs_src/app_testing/test_main_b.py b/docs_src/app_testing/test_main_b.py index 3e31a4180..83cc7d255 100644 --- a/docs_src/app_testing/test_main_b.py +++ b/docs_src/app_testing/test_main_b.py @@ -51,7 +51,7 @@ def test_create_item_bad_token(): assert response.json() == {"detail": "Invalid X-Token header"} -def test_create_existing_token(): +def test_create_existing_item(): response = client.post( "/items/", headers={"X-Token": "coneofsilence"},