  
  
  class TestMetadata:
      def test_metadata(self):
          """
          OPTIONS requests to views should return a valid 200 response.
          """
          class ExampleView(views.APIView):
 
</s>
    def test_determine_metadata_abstract_method_raises_proper_error(self):
        with pytest.raises(NotImplementedError):
            metadata.BaseMetadata().determine_metadata(None, None)

  
  
  class TestMetadata:
    def test_determine_metadata_abstract_method_raises_proper_error(self):
        with pytest.raises(NotImplementedError):
            metadata.BaseMetadata().determine_metadata(None, None)

      def test_metadata(self):
          """
          OPTIONS requests to views should return a valid 200 response.
          """
          class ExampleView(views.APIView):
keep keep add keep keep keep keep keep
 Add remaining tests for metadata (#4855)
tests/test_metadata.py