'Read-only serializers.should not be included in validation.'

def test_validate_read_only(self):

    data = {'read_only': 123, 'writable': 456}
    serializer = self.Serializer(data=data)
    assert serializer.is_valid()
    assert (serializer.validated_data == {'writable': 456})
