Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Stopel (0.24 sec)

  1. tests/test_tutorial/test_handling_errors/test_tutorial005.py

                        "type": "type_error.integer",
                    }
                ],
                "body": {"title": "towel", "size": "XL"},
            }
        )
    
    
    def test_post():
        data = {"title": "towel", "size": 5}
        response = client.post("/items/", json=data)
        assert response.status_code == 200, response.text
        assert response.json() == data
    
    
    def test_openapi_schema():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 4.3K bytes
    - Viewed (0)
Back to top