Remove unused Mapzen test

This commit is contained in:
Mario de Frutos 2018-05-07 12:22:39 +02:00
parent 9c428dbf31
commit 6b117e26b1

View File

@ -23,14 +23,6 @@ class TestStreetFunctions(TestCase):
geometry = IntegrationTestHelper.execute_query(self.sql_api_url, query) geometry = IntegrationTestHelper.execute_query(self.sql_api_url, query)
assert_not_equal(geometry['geometry'], None) assert_not_equal(geometry['geometry'], None)
def test_if_select_with_mapzen_provider_street_point_is_ok(self):
query = "SELECT cdb_mapzen_geocode_street_point(street) " \
"as geometry FROM {0} LIMIT 1&api_key={1}".format(
self.env_variables['table_name'],
self.env_variables['api_key'])
geometry = IntegrationTestHelper.execute_query(self.sql_api_url, query)
assert_not_equal(geometry['geometry'], None)
def test_if_select_with_street_without_api_key_raise_error(self): def test_if_select_with_street_without_api_key_raise_error(self):
query = "SELECT cdb_geocode_street_point(street) " \ query = "SELECT cdb_geocode_street_point(street) " \
"as geometry FROM {0} LIMIT 1".format( "as geometry FROM {0} LIMIT 1".format(