  factory = APIRequestFactory()
  
  
  class RootView(generics.ListCreateAPIView):
      """
      Example description for OPTIONS.
 
</s> remove         request = factory.get('/?integer=%s' % search_integer)
 </s> add         request = factory.get('/', {'integer': '%s' % search_integer}) </s> remove         request = factory.get('/?page_size=10')
 </s> add         request = factory.get('/', data={'page_size': 10}) </s> remove         request = factory.get('/?page_size=5')
 </s> add         request = factory.get('/', {'page_size': 5}) </s> remove         request = factory.get('/?decimal=%s' % search_decimal)
 </s> add         request = factory.get('/', {'decimal': '%s' % search_decimal}) </s> remove         request = factory.get('/?text=%s' % search_text)
 </s> add         request = factory.get('/', {'text': '%s' % search_text})
# Helper function to split arguments out of an url
def split_arguments_from_url(url):
    if '?' not in url:
        return url

    path, args = url.split('?')
    args = dict(r.split('=') for r in args.split('&'))
    return path, args

  factory = APIRequestFactory()
  
# Helper function to split arguments out of an url
def split_arguments_from_url(url):
    if '?' not in url:
        return url

    path, args = url.split('?')
    args = dict(r.split('=') for r in args.split('&'))
    return path, args

  
  class RootView(generics.ListCreateAPIView):
      """
      Example description for OPTIONS.
keep add keep keep keep keep
 Refactoring due to the previous commit. 
rest_framework/tests/test_pagination.py