def test_validate_lat_valid(lat): tilequery = Tilequery() result = tilequery._validate_lat(lat) assert result == lat
def test_validate_lat_invalid(lat): tilequery = Tilequery() with raises(InvalidCoordError): tilequery._validate_lat(lat)
def test_validate_lat_valid(lat): tilequery = Tilequery() result = tilequery._validate_lat(lat) assert result == lat
def test_validate_lat_invalid(lat): tilequery = Tilequery() with raises(InvalidCoordError): tilequery._validate_lat(lat)