Skip to content

Commit

Permalink
Fix the test running locally with IDE
Browse files Browse the repository at this point in the history
  • Loading branch information
muralov committed Oct 22, 2024
1 parent 17cf109 commit d0edd2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def is_running_pytest() -> bool:
env_path = find_dotenv(".env.test")
if env_path and os.path.exists(env_path):
config = Config(RepositoryEnv(env_path))
load_dotenv(".env.test")
load_dotenv(env_path)
else:
logging.warning("No .test.env file found. Using .env file.")
load_dotenv()
Expand Down

0 comments on commit d0edd2c

Please sign in to comment.