      def test_resource_name_uses_classname_by_default(self):
          """Ensure Resource names are based on the classname by default."""
          class MockView(APIView):
              pass
          self.assertEqual(MockView().get_name(), 'Mock')
  
      def test_resource_name_can_be_set_explicitly(self):
          """Ensure Resource names can be set using the 'get_name' method."""
          example = 'Some Other Name'
          class MockView(APIView):
 
</s> remove     def test_resource_name_can_be_set_explicitly(self):
        """Ensure Resource names can be set using the 'get_name' method."""
        example = 'Some Other Name'
        class MockView(APIView):
            def get_name(self):
                return example
        self.assertEqual(MockView().get_name(), example)

    def test_resource_description_uses_docstring_by_default(self):
        """Ensure Resource names are based on the docstring by default."""
 </s> add     def test_view_description_uses_docstring(self):
        """Ensure view descriptions are based on the docstring.""" </s> remove     def test_resource_name_uses_classname_by_default(self):
        """Ensure Resource names are based on the classname by default."""
 </s> add     def test_view_name_uses_class_name(self):
        """
        Ensure view names are based on the class name.
        """ </s> remove         self.assertEqual(MockView().get_description(), '')
 </s> add         self.assertEqual(get_view_description(MockView), '') </s> remove     def test_resource_description_can_be_empty(self):
        """Ensure that if a resource has no doctring or 'description' class attribute, then it's description is the empty string."""
 </s> add     def test_view_description_can_be_empty(self):
        """
        Ensure that if a view has no docstring,
        then it's description is the empty string.
        """ </s> remove         """Ensure markdown to HTML works as expected"""
 </s> add         """
        Ensure markdown to HTML works as expected.
        """
        self.assertEqual(get_view_name(MockView), 'Mock')
      def test_resource_name_uses_classname_by_default(self):
          """Ensure Resource names are based on the classname by default."""
          class MockView(APIView):
              pass
        self.assertEqual(get_view_name(MockView), 'Mock')
  
      def test_resource_name_can_be_set_explicitly(self):
          """Ensure Resource names can be set using the 'get_name' method."""
          example = 'Some Other Name'
          class MockView(APIView):
keep keep keep keep replace keep keep keep keep keep
 Fix up view name/description tests 
rest_framework/tests/description.py