Skip to content

Commit 3e2bfc7

Browse files
committed
fix pass through handling
1 parent 45b39ea commit 3e2bfc7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.evergreen/scripts/setup_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def handle_test_env() -> None:
171171

172172
# Handle pass through env vars.
173173
for var in PASS_THROUGH_ENV:
174-
if is_set(var) or getattr(opts, var.lower()):
174+
if is_set(var) or getattr(opts, var.lower(), ""):
175175
write_env(var, os.environ.get(var, getattr(opts, var.lower(), "")))
176176

177177
if extra := EXTRAS_MAP.get(test_name, ""):

0 commit comments

Comments
 (0)