summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Jones <mat@matburt.net>2014-07-16 19:34:37 +0200
committerMatthew Jones <mat@matburt.net>2014-07-16 19:34:37 +0200
commitba44491bf08219d37e2d7a4da736bd26959fd579 (patch)
tree218f0a9f82d8e70cf07a120d401ad8797ab543a5
parentFix up how the pager view works and how we return errors from some views (diff)
downloadawx-ba44491bf08219d37e2d7a4da736bd26959fd579.tar.xz
awx-ba44491bf08219d37e2d7a4da736bd26959fd579.zip
Fix up pagination tests by updating return assumptions from decorated function
-rw-r--r--awx/api/tests/decorator_paginated.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/awx/api/tests/decorator_paginated.py b/awx/api/tests/decorator_paginated.py
index 02d1ec1850..0e63327fa0 100644
--- a/awx/api/tests/decorator_paginated.py
+++ b/awx/api/tests/decorator_paginated.py
@@ -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):