                           'max_length'), 20)
  
  
  class FieldMetadata(TestCase):
      def setUp(self):
          self.required_field = serializers.Field()
          self.required_field.label = uuid4().hex
          self.required_field.required = True
 
</s> remove         kwargs['validators'] = [validators.URLValidator()]
 </s> add         if not 'validators' in kwargs:
            kwargs['validators'] = [validators.URLValidator()] </s> remove     Tests for URLField attribute values
 </s> add     Tests for URLField attribute values.

    (Includes test for #1210, checking that validators can be overridden.)
    def test_validators_can_be_overridden(self):
        url_field = serializers.URLField(validators=[])
        validators = url_field.validators
        self.assertEqual([], validators, 'Passing `validators` kwarg should have overridden default validators')

                           'max_length'), 20)
  
    def test_validators_can_be_overridden(self):
        url_field = serializers.URLField(validators=[])
        validators = url_field.validators
        self.assertEqual([], validators, 'Passing `validators` kwarg should have overridden default validators')

  
  class FieldMetadata(TestCase):
      def setUp(self):
          self.required_field = serializers.Field()
          self.required_field.label = uuid4().hex
          self.required_field.required = True
keep add keep keep keep keep keep keep
 Test and fix for #1210. World's lowest hanging fruit. 
rest_framework/tests/test_fields.py