          ]
          self.view = FilterFieldsRootView.as_view()
  
      def test_get_paginated_filtered_root_view(self):
          """
          GET requests to paginated filtered ListCreateAPIView should return
          paginated results. The next and previous links should preserve the
 
</s> remove         relative_url = '?%s=%d' % (self.page_field, page)
        if request:
            for field, value in request.QUERY_PARAMS.iteritems():
                if field != self.page_field:
                    relative_url += '&%s=%s' % (field, value)
            return request.build_absolute_uri(relative_url)
        return relative_url
 </s> add         url = request and request.get_full_path() or ''
        return replace_query_param(url, self.page_field, page) </s> remove         expected_data = [ f for f in self.data if f['date'] == search_date ]
 </s> add         expected_data = [f for f in self.data if f['date'] == search_date]
    @unittest.skipUnless(django_filters, 'django-filters not installed')
          ]
          self.view = FilterFieldsRootView.as_view()
  
    @unittest.skipUnless(django_filters, 'django-filters not installed')
      def test_get_paginated_filtered_root_view(self):
          """
          GET requests to paginated filtered ListCreateAPIView should return
          paginated results. The next and previous links should preserve the
keep keep add keep keep keep keep
 Make filtering optional, and pluggable. 
rest_framework/tests/pagination.py