Browse Source
🎨 Update and clarify testing function name (#1395)
test_create_existing_token -> test_create_existing_item
pull/1576/head
Chen Rotem Levy
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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"}, |
|
|
|