def test_validate_radius_geometry(geometry): tilequery = Tilequery() result = tilequery._validate_geometry(geometry) assert result == geometry
def test_validate_geometry_invalid(): tilequery = Tilequery() with raises(InvalidParameterError): tilequery._validate_geometry("invalid")