Fixed tests
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user