Browse Source

Merge remote-tracking branch 'origin/query_method' into query_method

pull/14408/head
Rauan 8 months ago
parent
commit
f5d77e5b4a
  1. 4
      tests/test_http_query_method.py

4
tests/test_http_query_method.py

@ -37,9 +37,7 @@ client = TestClient(app)
def test_query_item():
response = client.request(
"QUERY", "/items/", json={"name": "Foo", "price": 50.5}
)
response = client.request("QUERY", "/items/", json={"name": "Foo", "price": 50.5})
assert response.status_code == 200
assert response.json() == {
"name": "Foo",

Loading…
Cancel
Save