Skip to content

Commit

Permalink
gundotio#56: Implement a view without model
Browse files Browse the repository at this point in the history
- Created a workaround to user a fake model
- updated documentation explaining how to use it
  • Loading branch information
wisersoftwareengineer committed Mar 27, 2023
1 parent 6915503 commit 64c2cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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}]
}

Expand Down

0 comments on commit 64c2cb5

Please sign in to comment.