def test_int64_with_out_of_range_number(n):
    with pytest.raises(ValidationError):
        int64_validator(n)
def test_int64_with_in_range_number(n):
    int64_validator(n)
Beispiel #3
0
def test_int64_with_in_range_number(n):
    int64_validator(n)
Beispiel #4
0
def test_int64_with_out_of_range_number(n):
    from django.core.exceptions import ValidationError
    with pytest.raises(ValidationError):
        int64_validator(n)
Beispiel #5
0
def test_int64_with_out_of_range_number(n):
    with pytest.raises(ValidationError):
        int64_validator(n)