mirror of
https://github.com/fastapi/fastapi.git
synced 2026-05-14 02:35:51 -04:00
🎨 Update and clarify testing function name (#1395)
test_create_existing_token -> test_create_existing_item
This commit is contained in:
@@ -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"},
|
||||
|
||||
Reference in New Issue
Block a user