mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 20:51:21 -03:30
Allow taking the ordering parameter in the unit tests for the decorator
This commit is contained in:
parent
053bb4eeb0
commit
8c502478a0
@ -24,7 +24,7 @@ class PaginatedDecoratorTests(TestCase):
|
||||
class View(APIView):
|
||||
permission_classes = (AllowAny,)
|
||||
@paginated
|
||||
def get(self, request, limit, offset):
|
||||
def get(self, request, limit, ordering, offset):
|
||||
return ['a', 'b', 'c', 'd', 'e'], 26
|
||||
self.view = View.as_view()
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user