Skip to content

Commit ef48e21

Browse files
committed
Fixing tests.
1 parent c5425ac commit ef48e21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_pagination.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ def test_limit_is_zero(self):
517517
queryset = self.paginate_queryset(request)
518518
content = self.get_paginated_content(queryset)
519519
context = self.get_html_context()
520-
assert queryset == self.queryset[20:35]
520+
assert queryset == list(self.queryset[20:35])
521521
assert content == {
522522
'results': self.queryset[20:35],
523523
'previous': 'http://testserver/?limit=15&offset=5',

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy