def __init__(self): IntegerField.__init__(self, min_value=0, max_value=18446744073709551615)
def __init__(self): IntegerField.__init__(self, min_value=-9223372036854775808, max_value=9223372036854775807)
def __init__(self): IntegerField.__init__(self, min_value=0, max_value=4294967295)
def __init__(self): IntegerField.__init__(self, min_value=-2147483648, max_value=2147483647)
def test_integer_validation_too_short(): field = IntegerField(min_value=150) field.validate(FIELD_NAME, TEST_VALUE)
def test_integer_validation_too_long(): field = IntegerField(max_value=50) field.validate(FIELD_NAME, TEST_VALUE)
def test_integer_validation_success_w_all_checks(): field = IntegerField(min_value=3, max_value=250) field.validate(FIELD_NAME, TEST_VALUE)
def test_integer_validation_success_w_min_check(): field = IntegerField(min_value=3) field.validate(FIELD_NAME, TEST_VALUE)
def test_integer_validation_success_simple(): field = IntegerField() field.validate(FIELD_NAME, TEST_VALUE)