[tests] make test look for .env.ci on CI
Some checks failed
ci/woodpecker/push/workflow Pipeline failed
Some checks failed
ci/woodpecker/push/workflow Pipeline failed
This commit is contained in:
parent
69ca3e4e8c
commit
bf020f57e7
1 changed files with 3 additions and 1 deletions
|
|
@ -2,4 +2,6 @@ import os
|
|||
|
||||
|
||||
def test_we_are_using_the_correct_envpath():
|
||||
assert os.environ.get("ENV_PATH", "") == ".env.test"
|
||||
# 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue