From 85bdf572c587e90eedad36e09728e4d8c9314474 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Hells=C3=A9n?= Date: Thu, 12 Feb 2026 04:23:02 +0100 Subject: [PATCH] Update pagination_info format in SEO helper tests to use a list --- twitch/tests/test_views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/twitch/tests/test_views.py b/twitch/tests/test_views.py index 170b8c1..20430cc 100644 --- a/twitch/tests/test_views.py +++ b/twitch/tests/test_views.py @@ -899,7 +899,7 @@ class TestSEOHelperFunctions: og_type="article", schema_data={}, breadcrumb_schema=breadcrumb, # pyright: ignore[reportArgumentType] - pagination_info={"rel": "next", "url": "/page/2/"}, + pagination_info=[{"rel": "next", "url": "/page/2/"}], published_date=now.isoformat(), modified_date=now.isoformat(), robots_directive="noindex, follow", @@ -907,7 +907,7 @@ class TestSEOHelperFunctions: # breadcrumb_schema is JSON-dumped, so parse it back assert json.loads(context["breadcrumb_schema"]) == breadcrumb - assert context["pagination_info"] == {"rel": "next", "url": "/page/2/"} + assert context["pagination_info"] == [{"rel": "next", "url": "/page/2/"}] assert context["published_date"] == now.isoformat() assert context["modified_date"] == now.isoformat() assert context["robots_directive"] == "noindex, follow"