Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tests/test_serialize_response_dataclass.py

        response.raise_for_status()
        assert response.json() == {
            "name": "valid",
            "date": datetime(2021, 7, 26).isoformat(),
            "price": 1.0,
            "owner_ids": None,
        }
    
    
    def test_object():
        response = client.get("/items/object")
        response.raise_for_status()
        assert response.json() == {
            "name": "object",
            "date": datetime(2021, 7, 26).isoformat(),
            "price": 1.0,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 26 13:56:47 UTC 2022
    - 4.9K bytes
    - Viewed (0)
Back to top