      urls = 'djangorestframework.tests.views'
  
      def test_options_method_simple_view(self):
          response = self.client.options('/mock/')
          self._verify_options_response(response,
                                        name='Mock',
                                        description='This is a basic mock view')
  
 
</s>
    def test_view_call_final(self):
        response = self.client.options('/mock/final/')
        self.assertEqual(response['Content-Type'].split(';')[0], "application/json")
        parser = JSONParser(None)
        (data, files) = parser.parse(StringIO(response.content))
        self.assertEqual(data['test'], 'passed')

      urls = 'djangorestframework.tests.views'
  
    def test_view_call_final(self):
        response = self.client.options('/mock/final/')
        self.assertEqual(response['Content-Type'].split(';')[0], "application/json")
        parser = JSONParser(None)
        (data, files) = parser.parse(StringIO(response.content))
        self.assertEqual(data['test'], 'passed')

      def test_options_method_simple_view(self):
          response = self.client.options('/mock/')
          self._verify_options_response(response,
                                        name='Mock',
                                        description='This is a basic mock view')
  
keep add keep keep keep keep keep keep
 Add test for final() method
djangorestframework/tests/views.py