Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_annotations (0.05 sec)

  1. tests/test_pydanticv2_dataclasses_uuid_stringified_annotations.py

            "name": "Island In The Moon",
            "price": 12.99,
            "description": "A place to be be playin' and havin' fun",
            "tags": ["breater"],
        }
    
    
    client = TestClient(app)
    
    
    def test_annotations():
        response = client.get("/item")
        assert response.status_code == 200, response.text
        assert response.json() == snapshot(
            {
                "id": IsUUID(),
                "name": "Island In The Moon",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.1K bytes
    - Viewed (0)
Back to top