Fixed tests

This commit is contained in:
antoniocarlon
2018-09-13 16:01:53 +02:00
parent 4f983ec32f
commit a57500c966
9 changed files with 67 additions and 75 deletions
+1 -2
View File
@@ -110,7 +110,6 @@ class TestStreetFunctionsSetUp(TestCase):
self.env_variables['schema'],
self.env_variables['username'],
self.env_variables['host'],
self.env_variables['api_key']
)
if not self.fixture_points:
@@ -123,7 +122,6 @@ class TestStreetFunctionsSetUp(TestCase):
self.metadata = self.METADATAS[provider]
def _run_authenticated(self, query):
authenticated_query = "{}&api_key={}".format(query,
self.env_variables[
@@ -137,6 +135,7 @@ class TestStreetFunctionsSetUp(TestCase):
"where service = 'hires_geocoder'"
return self._run_authenticated(query)['rows'][0]['used_quota']
class TestStreetFunctions(TestStreetFunctionsSetUp):
def test_if_select_with_street_point_is_ok(self):