Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_put_invalid_data (0.06 sec)

  1. tests/test_tutorial/test_encoder/test_tutorial001.py

        assert "123" in fake_db
        assert fake_db["123"] == {
            "title": "Foo",
            "timestamp": "2023-01-01T12:00:00",
            "description": "An optional description",
        }
    
    
    def test_put_invalid_data(client: TestClient, mod: ModuleType):
        fake_db = mod.fake_db
    
        response = client.put(
            "/items/345",
            json={
                "title": "Foo",
                "timestamp": "not a date",
            },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 6.7K bytes
    - Viewed (0)
Back to top