'Ensure validators can be explicitly removed..'

def test_allow_explict_override(self):

    class NoValidatorsSerializer(serializers.ModelSerializer, ):
        class Meta:
            model = UniquenessTogetherModel
            fields = ('id', 'race_name', 'position')
            validators = []
    serializer = NoValidatorsSerializer()
    expected = dedent("\n                                                NoValidatorsSerializer():\n                                                                id    =    IntegerField(label='ID',    read_only=True)\n                                                                race_name    =    CharField(max_length=100)\n                                                                position    =    IntegerField()\n                                ")
    assert (repr(serializer) == expected)
