mirror of
https://github.com/ansible/awx.git
synced 2026-03-16 16:37:30 -02:30
Fix up pagination tests by updating return assumptions from decorated function
This commit is contained in:
@@ -25,7 +25,7 @@ class PaginatedDecoratorTests(TestCase):
|
|||||||
permission_classes = (AllowAny,)
|
permission_classes = (AllowAny,)
|
||||||
@paginated
|
@paginated
|
||||||
def get(self, request, limit, ordering, offset):
|
def get(self, request, limit, ordering, offset):
|
||||||
return ['a', 'b', 'c', 'd', 'e'], 26
|
return ['a', 'b', 'c', 'd', 'e'], 26, None
|
||||||
self.view = View.as_view()
|
self.view = View.as_view()
|
||||||
|
|
||||||
def test_implicit_first_page(self):
|
def test_implicit_first_page(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user