- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for test_post_all (0.07 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
tests/test_tutorial/test_body_nested_models/test_tutorial007.py
], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.body_nested_models.{request.param}") client = TestClient(mod.app) return client def test_post_all(client: TestClient): data = { "name": "Special Offer", "description": "This is a special offer", "price": 38.6, "items": [ { "name": "Foo",
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 11.6K bytes - Click Count (0) -
tests/test_tutorial/test_body_multiple_params/test_tutorial002.py
], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.body_multiple_params.{request.param}") client = TestClient(mod.app) return client def test_post_all(client: TestClient): response = client.put( "/items/5", json={ "item": { "name": "Foo", "price": 50.5, "description": "Some Foo",
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 11.7K bytes - Click Count (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial005.py
], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.body_nested_models.{request.param}") client = TestClient(mod.app) return client def test_put_all(client: TestClient): response = client.put( "/items/123", json={ "name": "Foo", "description": "A very nice Item", "price": 35.4, "tax": 3.2,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 10.3K bytes - Click Count (0) -
tests/test_tutorial/test_body_multiple_params/test_tutorial004.py
], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.body_multiple_params.{request.param}") client = TestClient(mod.app) return client def test_put_all(client: TestClient): response = client.put( "/items/5", json={ "importance": 2, "item": {"name": "Foo", "price": 50.5}, "user": {"username": "Dave"},
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 10K bytes - Click Count (0)