Skip to content

Commit db21436

Browse files
committed
Properly clean env var test
Signed-off-by: Andreia Ocănoaia <[email protected]>
1 parent ab68af2 commit db21436

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: test_environment_variables.py

+2
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ def test_environment_variables_with_env_file():
117117
assert "TEST_SECOND_ENV_VAR" in env, "Missing TEST_SECOND_ENV_VAR in response"
118118
assert env["TEST_SECOND_ENV_VAR"] == "value-second", "Function did not receive the correct environment variables, actual value: " + env["TEST_SECOND_ENV_VAR"]
119119

120+
genezio_delete(deploy_result.project_id)
121+
120122
deploy_result = genezio_deploy(False, args=["--env", ".env", "--config", "./genezio-backend-environment.yaml"])
121123

122124
assert deploy_result.return_code == 0, "genezio deploy returned non-zero exit code"

0 commit comments

Comments
 (0)