aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/tests/pagination.py
diff options
context:
space:
mode:
Diffstat (limited to 'rest_framework/tests/pagination.py')
-rw-r--r--rest_framework/tests/pagination.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rest_framework/tests/pagination.py b/rest_framework/tests/pagination.py
index 9e424cc5..a939c9ef 100644
--- a/rest_framework/tests/pagination.py
+++ b/rest_framework/tests/pagination.py
@@ -7,7 +7,7 @@ from rest_framework.tests.models import BasicModel
factory = RequestFactory()
-class RootView(generics.RootAPIView):
+class RootView(generics.ListCreateAPIView):
"""
Example description for OPTIONS.
"""
@@ -35,7 +35,7 @@ class IntegrationTestPagination(TestCase):
def test_get_paginated_root_view(self):
"""
- GET requests to paginated RootAPIView should return paginated results.
+ GET requests to paginated ListCreateAPIView should return paginated results.
"""
request = factory.get('/')
response = self.view(request).render()