From 6d398a949938d0348ea05d7a1ab187e7fb809a5f Mon Sep 17 00:00:00 2001 From: Carla Iriberri Date: Wed, 25 May 2016 18:29:26 +0200 Subject: [PATCH] Fix integration tests for waypoints --- test/integration/test_routing_functions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/test_routing_functions.py b/test/integration/test_routing_functions.py index 2795177..e9d2629 100644 --- a/test/integration/test_routing_functions.py +++ b/test/integration/test_routing_functions.py @@ -35,7 +35,7 @@ class TestRoutingFunctions(TestCase): def test_if_select_with_routing_with_waypoints_is_ok(self): query = "SELECT duration, length, shape as the_geom " \ - "FROM cdb_route_with_waypoints('Array['POINT(-3.7109 40.4234)'::GEOMETRY, "\ + "FROM cdb_route_with_waypoints(Array['POINT(-3.7109 40.4234)'::GEOMETRY, "\ "'POINT(-3.7059 40.4203)'::geometry, 'POINT(-3.7046 40.4180)'::geometry]" \ "::geometry[], 'car', " \ "ARRAY['mode_type=shortest']::text[])&api_key={0}".format( @@ -45,7 +45,7 @@ class TestRoutingFunctions(TestCase): def test_if_select_with_routing_with_waypoints_without_api_key_raise_error(self): query = "SELECT duration, length, shape as the_geom " \ - "FROM cdb_route_with_waypoints('Array['POINT(-3.7109 40.4234)'::GEOMETRY, "\ + "FROM cdb_route_with_waypoints(Array['POINT(-3.7109 40.4234)'::GEOMETRY, "\ "'POINT(-3.7059 40.4203)'::geometry, 'POINT(-3.7046 40.4180)'::geometry]" \ "::geometry[], 'car', " \ "ARRAY['mode_type=shortest']::text[])&api_key={0}"