Fix up pagination tests by updating return assumptions from decorated function

This commit is contained in:
Matthew Jones 2014-07-16 13:34:37 -04:00
parent 364e185412
commit ba44491bf0

View File

@ -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):