コード例 #1
0
def test_validate_lon_valid(lon):
    tilequery = Tilequery()
    result = tilequery._validate_lon(lon)
    assert result == lon
コード例 #2
0
def test_validate_lon_invalid(lon):
    tilequery = Tilequery()

    with raises(InvalidCoordError):
        tilequery._validate_lon(lon)