'Test that ModelMultipleChoiceField run given validators (#14144).'

def test_model_multiple_choice_run_validators(self):

    for i in range(30):
        Person.objects.create(name=(u'Person    %s' % i))
    self._validator_run = False
    def my_validator(value):
        self._validator_run = True
    f = forms.ModelMultipleChoiceField(queryset=Person.objects.all(), validators=[my_validator])
    f.clean([p.pk for p in Person.objects.all()[8:9]])
    self.assertTrue(self._validator_run)
