Ejemplo n.º 1
0
def test_int64_with_out_of_range_number(n):
    with pytest.raises(ValidationError):
        int64_validator(n)
Ejemplo n.º 2
0
def test_int64_with_in_range_number(n):
    int64_validator(n)
Ejemplo n.º 3
0
def test_int64_with_in_range_number(n):
    int64_validator(n)
Ejemplo n.º 4
0
def test_int64_with_out_of_range_number(n):
    from django.core.exceptions import ValidationError
    with pytest.raises(ValidationError):
        int64_validator(n)
Ejemplo n.º 5
0
def test_int64_with_out_of_range_number(n):
    with pytest.raises(ValidationError):
        int64_validator(n)