'Test arbitrary minimal lengths requirements.'

def test_min_length(self):

    Ascii(min_length=0).validate('')
    Ascii(min_length=0).validate(None)
    Ascii(min_length=0).validate('kevin')
    Ascii(min_length=1).validate('k')
    Ascii(min_length=5).validate('kevin')
    Ascii(min_length=5).validate('kevintastic')
    with self.assertRaises(ValidationError):
        Ascii(min_length=1).validate('')
    with self.assertRaises(ValidationError):
        Ascii(min_length=1).validate(None)
    with self.assertRaises(ValidationError):
        Ascii(min_length=6).validate('')
    with self.assertRaises(ValidationError):
        Ascii(min_length=6).validate(None)
    with self.assertRaises(ValidationError):
        Ascii(min_length=6).validate('kevin')
    with self.assertRaises(ValueError):
        Ascii(min_length=(-1))
