diff --git a/tests/test_env_resolution.py b/tests/test_env_resolution.py index 2e98efb..9d14908 100644 --- a/tests/test_env_resolution.py +++ b/tests/test_env_resolution.py @@ -1,6 +1,8 @@ import sys from pathlib import Path +from icecream import ic + sys.path.append(Path(__file__).parent.parent.resolve().__str__()) # import pytest @@ -43,13 +45,15 @@ from src.env_file_helper import DependencyRule, EnvFile, sort_env_files_by_rule ENV_FILES = [ - Path("envfiles/login.test.dev.local-it.cloud.env"), # authentik Path("envfiles/blog.test.dev.local-it.cloud.env"), # wordpress + Path("envfiles/login.test.dev.local-it.cloud.env"), # authentik ] env_files: list[EnvFile] = Coordinator._getn_env_files_list(ENV_FILES) dependency_rules: list[DependencyRule] = Coordinator._get_dependency_rules(env_files) - -print(dependency_rules) +ic(env_files) +sorted_env_files = sort_env_files_by_rule(env_files, dependency_rules) +ic(env_files) +ic(sorted_env_files)