              text = serializers.CharField(help_text=_('lazy string'))
  
          inspector = AutoSchema()
  
          data = inspector._map_serializer(ItemSerializer())
          assert isinstance(data['properties']['text']['description'], str), "description must be str"
  
      def test_boolean_default_field(self):
          class Serializer(serializers.Serializer):
              default_true = serializers.BooleanField(default=True)
 
</s> remove         data = inspector._map_serializer(Serializer())
 </s> add         data = inspector.map_serializer(Serializer()) </s> remove                 assert inspector._map_field(field) == mapping
 </s> add                 assert inspector.map_field(field) == mapping </s> remove         serializer = inspector._get_serializer(path, method)
 </s> add         serializer = inspector.get_serializer(path, method) </s> remove             data = self._map_serializer(field)
 </s> add             data = self.map_serializer(field) </s> remove         responses = inspector._get_responses(path, method)
 </s> add         responses = inspector.get_responses(path, method)
        data = inspector.map_serializer(ItemSerializer())
              text = serializers.CharField(help_text=_('lazy string'))
  
          inspector = AutoSchema()
  
        data = inspector.map_serializer(ItemSerializer())
          assert isinstance(data['properties']['text']['description'], str), "description must be str"
  
      def test_boolean_default_field(self):
          class Serializer(serializers.Serializer):
              default_true = serializers.BooleanField(default=True)
keep keep keep keep replace keep keep keep keep keep
 Convert openapi.AutoSchema methods to public API. 
tests/schemas/test_openapi.py