From edc75e91b054571b017500617a9337b4ace3b506 Mon Sep 17 00:00:00 2001 From: Norbert Schuler Date: Tue, 11 Oct 2022 09:30:43 +0200 Subject: [PATCH] Adapted test case for paginated response schema --- tests/test_pagination.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_pagination.py b/tests/test_pagination.py index c028f0ea8..5d7864700 100644 --- a/tests/test_pagination.py +++ b/tests/test_pagination.py @@ -922,10 +922,14 @@ class CursorPaginationTestsMixin: 'next': { 'type': 'string', 'nullable': True, + 'format': 'uri', + 'example': 'http://api.example.org/accounts/?cursor=cD00ODY%3D"' }, 'previous': { 'type': 'string', 'nullable': True, + 'format': 'uri', + 'example': 'http://api.example.org/accounts/?cursor=cj0xJnA9NDg3' }, 'results': unpaginated_schema, },