- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for test_put_only_required (0.07 sec)
-
tests/test_tutorial/test_body/test_tutorial004.py
assert response.json() == { "item_id": 123, "name": "Foo", "price": 50.1, "description": "Some Foo", "tax": 0.3, "q": "somequery", } def test_put_only_required(client: TestClient): response = client.put( "/items/123", json={"name": "Foo", "price": 50.1}, ) assert response.status_code == 200 assert response.json() == {
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 6K bytes - Viewed (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial005.py
"tax": 3.2, "tags": IsList("foo", "bar", check_order=False), "image": {"url": "http://example.com/image.png", "name": "example image"}, }, } def test_put_only_required(client: TestClient): response = client.put( "/items/5", json={"name": "Foo", "price": 35.4}, ) assert response.status_code == 200, response.text assert response.json() == {
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 9.6K bytes - Viewed (0) -
tests/test_tutorial/test_body/test_tutorial003.py
assert response.json() == { "item_id": 123, "name": "Foo", "price": 50.1, "description": "Some Foo", "tax": 0.3, } def test_put_only_required(client: TestClient): response = client.put( "/items/123", json={"name": "Foo", "price": 50.1}, ) assert response.status_code == 200 assert response.json() == {
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 5.5K bytes - Viewed (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial006.py
"tags": IsList("foo", "bar", check_order=False), "images": [ {"url": "http://example.com/image.png", "name": "example image"} ], }, } def test_put_only_required(client: TestClient): response = client.put( "/items/5", json={"name": "Foo", "price": 35.4}, ) assert response.status_code == 200, response.text assert response.json() == {
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 8.7K bytes - Viewed (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial004.py
"tax": 3.2, "tags": IsList("foo", "bar", check_order=False), "image": {"url": "http://example.com/image.png", "name": "example image"}, }, } def test_put_only_required(client: TestClient): response = client.put( "/items/5", json={"name": "Foo", "price": 35.4}, ) assert response.status_code == 200, response.text assert response.json() == {
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 8.8K bytes - Viewed (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial007.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 10.8K bytes - Viewed (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial001_tutorial002_tutorial003.py
"name": "Foo", "description": "A very nice Item", "price": 35.4, "tax": 3.2, "tags": tags_expected, }, } def test_put_only_required(client: TestClient): response = client.put( "/items/5", json={"name": "Foo", "price": 35.4}, ) assert response.status_code == 200, response.text assert response.json() == {
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 7.9K bytes - Viewed (0) -
tests/test_tutorial/test_body_multiple_params/test_tutorial004.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 9.3K bytes - Viewed (0)