def test_decimal_field_has_decimal_validator(self):
        class TestSerializer(serializers.ModelSerializer):
            class Meta:
                model = DecimalFieldModel

        serializer = TestSerializer()

        assert len(serializer.fields['decimal_field'].validators) == 2
Test that a `DecimalField` has no `DecimalValidator`.
dataset/ETHPy150Open tomchristie/django-rest-framework/tests/test_model_serializer.py/TestDecimalFieldMappings.test_decimal_field_has_decimal_validator