Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_post_without_tax (0.07 seconds)

  1. tests/test_tutorial/test_body/test_tutorial002.py

            "name": "Foo",
            "price": 50.5,
            "description": "Some Foo",
            "tax": 0.3,
            "price_with_tax": 50.8,
        }
    
    
    @pytest.mark.parametrize("price", ["50.5", 50.5])
    def test_post_without_tax(client: TestClient, price: str | float):
        response = client.post(
            "/items/", json={"name": "Foo", "price": price, "description": "Some Foo"}
        )
        assert response.status_code == 200
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 5.8K bytes
    - Click Count (0)
Back to Top