Exemple #1
0
def test_validate_lat_valid(lat):
    tilequery = Tilequery()
    result = tilequery._validate_lat(lat)
    assert result == lat
Exemple #2
0
def test_validate_lat_invalid(lat):
    tilequery = Tilequery()

    with raises(InvalidCoordError):
        tilequery._validate_lat(lat)