mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
Fix up pagination tests by updating return assumptions from decorated function
This commit is contained in:
parent
364e185412
commit
ba44491bf0
@ -25,7 +25,7 @@ class PaginatedDecoratorTests(TestCase):
|
||||
permission_classes = (AllowAny,)
|
||||
@paginated
|
||||
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()
|
||||
|
||||
def test_implicit_first_page(self):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user