diff --git a/tests/test_config_file.py b/tests/test_config_file.py index d6c1bae..56c4d46 100644 --- a/tests/test_config_file.py +++ b/tests/test_config_file.py @@ -2,11 +2,12 @@ from schema import And, Optional, Or, Schema, Use from datapackage import Package -from premise.ecoinvent_modification import ( - LIST_IMAGE_REGIONS, - LIST_REMIND_REGIONS, - SUPPORTED_EI_VERSIONS, -) +from premise.utils import load_constants + +config = load_constants() +LIST_REMIND_REGIONS = config["LIST_REMIND_REGIONS"] +LIST_IMAGE_REGIONS = config["LIST_IMAGE_REGIONS"] +SUPPORTED_EI_VERSIONS = config["SUPPORTED_EI_VERSIONS"] FILEPATH_DATAPACKAGE_SCHEMA = "./datapackage.json"