Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for get_app_client (0.22 sec)

  1. tests/test_openapi_separate_input_output_schemas.py

                ),
                Item(name="Plumbus"),
            ]
    
        client = TestClient(app)
        return client
    
    
    def test_create_item():
        client = get_app_client()
        client_no = get_app_client(separate_input_output_schemas=False)
        response = client.post("/items/", json={"name": "Plumbus"})
        response2 = client_no.post("/items/", json={"name": "Plumbus"})
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Sep 28 04:14:40 GMT 2023
    - 18.4K bytes
    - Viewed (2)
Back to top