Added here integration test for geocoder street

This commit is contained in:
Mario de Frutos 2016-11-03 15:14:11 +01:00
parent 73aa26590b
commit 6f0db20163

View File

@ -14,8 +14,8 @@ class TestStreetFunctions(TestCase):
self.env_variables['api_key'] self.env_variables['api_key']
) )
def test_if_select_with_street_point_is_ok(self): def test_if_select_with_here_street_point_is_ok(self):
query = "SELECT cdb_geocode_street_point(street) " \ query = "SELECT cdb_here_geocode_street_point(street) " \
"as geometry FROM {0} LIMIT 1&api_key={1}".format( "as geometry FROM {0} LIMIT 1&api_key={1}".format(
self.env_variables['table_name'], self.env_variables['table_name'],
self.env_variables['api_key']) self.env_variables['api_key'])