  from rest_framework.compat import apply_markdown, smart_text
  from rest_framework.views import APIView
  from rest_framework.tests.description import ViewWithNonASCIICharactersInDocstring
  from rest_framework.tests.description import UTF8_TEST_DOCSTRING
  from rest_framework.utils.formatting import get_view_name, get_view_description
  
  # We check that docstrings get nicely un-indented.
  DESCRIPTION = """an example docstring
  ====================
  
 
</s> remove         self.assertEqual(get_view_name(MockView), 'Mock')
 </s> add         self.assertEqual(MockView().get_view_name(), 'Mock') </s> remove         self.assertEqual(get_view_description(MockView), DESCRIPTION)
 </s> add         self.assertEqual(MockView().get_view_description(), DESCRIPTION) </s> remove             get_view_description(ViewWithNonASCIICharactersInDocstring),
 </s> add             ViewWithNonASCIICharactersInDocstring().get_view_description(), </s> remove         self.assertEqual(get_view_description(MockView), '')
 </s> add         self.assertEqual(MockView().get_view_description(), '')
  from rest_framework.compat import apply_markdown, smart_text
  from rest_framework.views import APIView
  from rest_framework.tests.description import ViewWithNonASCIICharactersInDocstring
  from rest_framework.tests.description import UTF8_TEST_DOCSTRING

  
  # We check that docstrings get nicely un-indented.
  DESCRIPTION = """an example docstring
  ====================
  
keep keep keep keep replace keep keep keep keep keep
 Updated tests for view name and description

Updated the tests to use the default view_name and view_description
functions in the formatter through the default in settings. 
rest_framework/tests/test_description.py