import pytest from httpx import Response @pytest.fixture def ows_track_response_mock() -> Response: return Response( status_code=200, content=""" { "items": [ { "product_id": 123, "tuid": 1, "volume_number": 1, "track_number": 1, "upc": 3452345234523, "track_type": "music" }, { "product_id": 123, "tuid": 2, "volume_number": 1, "track_number": 2, "upc": 3452345234523, "track_type": "music" }, { "product_id": 456, "tuid": 3, "volume_number": 1, "track_number": 1, "upc": 657845675674574, "track_type": "music" }, { "product_id": 789, "tuid": 4, "volume_number": 1, "track_number": 1, "upc": 95673456433456, "track_type": "music" }, { "product_id": 789, "tuid": 5, "volume_number": 1, "track_number": 2, "upc": 95673456433456, "track_type": "video" } ] } """, )