          assert view.reverse_action('detail-custom', args=['1']) == '/api/actions-alt/1/custom_detail_action/'
  
      def test_request_passing(self):
          view = ActionViewSet()
          view.basename = router.get_default_base_name(ActionViewSet)
          view.request = factory.get('/')
  
          # Passing the view's request object should result in an absolute URL.
          assert view.reverse_action('list') == 'http://testserver/api/actions/'
  
 
</s> remove         view.basename = router.get_default_base_name(ActionViewSet)
 </s> add         view.basename = router.get_default_basename(ActionViewSet) </s> remove         self.router.register(r'test', TestViewSet, base_name='test')
 </s> add         self.router.register(r'test', TestViewSet, basename='test') </s> remove     def register(self, prefix, viewset, base_name=None):
        if base_name is None:
            base_name = self.get_default_base_name(viewset)
        self.registry.append((prefix, viewset, base_name))
 </s> add     def register(self, prefix, viewset, basename=None, base_name=None):
        if base_name is not None:
            msg = "The `base_name` argument has been deprecated in favor of `basename`."
            warnings.warn(msg, DeprecationWarning, 2)

        assert not (basename and base_name), (
            "Do not provide both the `basename` and `base_name` arguments.")

        if basename is None:
            basename = base_name

        if basename is None:
            basename = self.get_default_basename(viewset)
        self.registry.append((prefix, viewset, basename)) </s> remove         assert queryset is not None, '`base_name` argument not specified, and could ' \
 </s> add         assert queryset is not None, '`basename` argument not specified, and could ' \ </s> remove         If `base_name` is not specified, attempt to automatically determine
 </s> add         If `basename` is not specified, attempt to automatically determine
        view.basename = router.get_default_basename(ActionViewSet)
          assert view.reverse_action('detail-custom', args=['1']) == '/api/actions-alt/1/custom_detail_action/'
  
      def test_request_passing(self):
          view = ActionViewSet()
        view.basename = router.get_default_basename(ActionViewSet)
          view.request = factory.get('/')
  
          # Passing the view's request object should result in an absolute URL.
          assert view.reverse_action('list') == 'http://testserver/api/actions/'
  
keep keep keep keep replace keep keep keep keep keep
 Rename base_name => basename for consistency's sake (#5990)

* Rename base_name => basename for consistency

* Update tests to use basename 
tests/test_viewsets.py