From 2a1d751cf57b57f9f925353a177a2b468bc96e36 Mon Sep 17 00:00:00 2001 From: antoniocarlon Date: Wed, 23 Sep 2020 10:57:15 +0200 Subject: [PATCH] Change city for geocoding --- test/integration/test_street_functions.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/integration/test_street_functions.py b/test/integration/test_street_functions.py index 2350ff5..54bf39e 100644 --- a/test/integration/test_street_functions.py +++ b/test/integration/test_street_functions.py @@ -280,18 +280,18 @@ class TestBulkStreetFunctions(TestStreetFunctionsSetUp): def test_templating_geocoding(self): query = "SELECT cartodb_id, st_x(the_geom), st_y(the_geom) from " \ "cdb_dataservices_client.cdb_bulk_geocode_street_point(" \ - "'select 1 as cartodb_id, ''Logroño'' as city', " \ + "'select 1 as cartodb_id, ''Valladolid'' as city', " \ "'city || '', '' || ''Spain''') " \ "UNION " \ "SELECT cartodb_id, st_x(the_geom), st_y(the_geom) from " \ "cdb_dataservices_client.cdb_bulk_geocode_street_point(" \ - "'select 2 as cartodb_id, ''Logroño'' as city', " \ - "'city || '', '' || ''Argentina''')" + "'select 2 as cartodb_id, ''Valladolid'' as city', " \ + "'city || '', '' || ''Mexico''')" response = self._run_authenticated(query) points_by_cartodb_id = { - 1: self.fixture_points['Logroño, Spain'], - 2: self.fixture_points['Logroño, Argentina'] + 1: self.fixture_points['Valladolid, Spain'], + 2: self.fixture_points['Valladolid, Mexico'] } self.assert_close_points(self._x_y_by_cartodb_id(response), points_by_cartodb_id)