diff --git a/tests/conftest.py b/tests/conftest.py index 46e8194..2e55090 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -10,7 +10,22 @@ input and output storage """ +import logging +import os + +import pytest + pytest_plugins = [ "fixtures.application", "fixtures.datastore", ] + +logger = logging.getLogger(__name__) + + +# ENVIRONMENT CONFIGURATION +@pytest.fixture(scope="session", autouse=True) +def annotator_environment(): + api_host = "https://biothings.test.transltr.io" + os.environ["SERVICE_PROVIDER_API_HOST"] = api_host + logger.info("Set SERVICE PROVIDER API HOST: %s for tests", api_host)