teilchensammler/config/test.py
bronsen bf020f57e7
Some checks failed
ci/woodpecker/push/workflow Pipeline failed
[tests] make test look for .env.ci on CI
2025-03-14 22:18:31 +01:00

7 lines
224 B
Python

import os
def test_we_are_using_the_correct_envpath():
# does this test make sense anymore?
env_path = ".env.ci" if os.environ.get("CI", None) else ".env.test"
assert os.environ.get("ENV_PATH", "") == env_path