From 64c2cb54396facafd8e70400d09956362877255d Mon Sep 17 00:00:00 2001 From: Wiser Software Engineer Date: Mon, 27 Mar 2023 10:59:12 -0300 Subject: [PATCH] #56: Implement a view without model - Created a workaround to user a fake model - updated documentation explaining how to use it --- tests/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_views.py b/tests/test_views.py index 6f1f20a..05cc332 100644 --- a/tests/test_views.py +++ b/tests/test_views.py @@ -578,7 +578,7 @@ def test_when_using_a_list_view_without_model_with_custom_queryset_must_return_e assert response assert response.status_code == 200, response assert response.json() == { - "pagination": {"count": 1, "page": 1, "pages": 1 }, + "pagination": {"count": 1, "page": 1, "pages": 1}, "data": [{"id": str(task_id), "name": task_name}] }