|
|
|
@ -160,8 +160,7 @@ def test_json_decode_error_snippet_ellipsis( |
|
|
|
def test_successful_item_creation(): |
|
|
|
response = client.post( |
|
|
|
"/items/", |
|
|
|
json={"name": "Test Item", "price": 19.99, |
|
|
|
"description": "A test item"}, |
|
|
|
json={"name": "Test Item", "price": 19.99, "description": "A test item"}, |
|
|
|
) |
|
|
|
|
|
|
|
assert response.status_code == 200 |
|
|
|
|