diff --git a/ingestion/tests/test_off_country.py b/ingestion/tests/test_off_country.py index e716ba3..8941711 100644 --- a/ingestion/tests/test_off_country.py +++ b/ingestion/tests/test_off_country.py @@ -42,14 +42,10 @@ def test_fetch_by_country_dedupes_across_pages(): def handler(request: httpx.Request) -> httpx.Response: page = int(request.url.params.get("page", "1")) if page == 1: - return httpx.Response( - 200, json={"products": [{"code": "6901"}, {"code": "6902"}]} - ) + return httpx.Response(200, json={"products": [{"code": "6901"}, {"code": "6902"}]}) if page == 2: # OFF popularity ordering is unstable; a repeat appears on page 2 - return httpx.Response( - 200, json={"products": [{"code": "6902"}, {"code": "6903"}]} - ) + return httpx.Response(200, json={"products": [{"code": "6902"}, {"code": "6903"}]}) return httpx.Response(200, json={"products": []}) adapter = _adapter(handler)