diff --git a/scripts/test_simnow.py b/scripts/test_simnow.py index 1400fbd..fce0894 100644 --- a/scripts/test_simnow.py +++ b/scripts/test_simnow.py @@ -8,6 +8,7 @@ import sys BASE = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.insert(0, BASE) +sys.path.insert(0, os.path.join(BASE, "_legacy")) from locale_fix import ensure_process_locale, missing_ctp_locales @@ -15,6 +16,9 @@ ensure_process_locale() from dotenv import load_dotenv +from modules.core.paths import resolve_env_file + +load_dotenv(resolve_env_file()) load_dotenv(os.path.join(BASE, ".env"))