Added schema option to define in the integration tests

This commit is contained in:
Mario de Frutos
2016-11-07 10:33:15 +01:00
parent 352d4217bc
commit 22fdbd0f4e
12 changed files with 46 additions and 26 deletions

View File

@@ -8,7 +8,8 @@ class TestPostalcodeFunctions(TestCase):
def setUp(self):
self.env_variables = IntegrationTestHelper.get_environment_variables()
self.sql_api_url = "https://{0}.{1}/api/v1/sql".format(
self.sql_api_url = "{0}://{1}.{2}/api/v1/sql".format(
self.env_variables['schema'],
self.env_variables['username'],
self.env_variables['host'],
self.env_variables['api_key']