コード例 #1
0
def test_validate_radius_geometry(geometry):
    tilequery = Tilequery()
    result = tilequery._validate_geometry(geometry)
    assert result == geometry
コード例 #2
0
def test_validate_geometry_invalid():
    tilequery = Tilequery()

    with raises(InvalidParameterError):
        tilequery._validate_geometry("invalid")