From 8c502478a03204aaec9db4fb043daec7531933c5 Mon Sep 17 00:00:00 2001 From: Matthew Jones Date: Wed, 25 Jun 2014 14:54:32 -0400 Subject: [PATCH] Allow taking the ordering parameter in the unit tests for the decorator --- awx/api/tests/decorator_paginated.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/api/tests/decorator_paginated.py b/awx/api/tests/decorator_paginated.py index e2d3ae27c4..02d1ec1850 100644 --- a/awx/api/tests/decorator_paginated.py +++ b/awx/api/tests/decorator_paginated.py @@ -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()