CHORE: Updated tests to better check env vars

This commit is contained in:
2024-01-30 19:30:02 +00:00
parent faad412809
commit 077ae93d89
4 changed files with 13 additions and 7 deletions

View File

@@ -1,5 +1,8 @@
import os
# Setup test environment variables
if os.environ.get("ENVIRON") is None:
os.environ["ENVIRON"] = "test"
# Capture environment variables at start of testing so we can
# Monitor current setting during tests
old_env = os.environ.get("ENVIRON")
os.environ["ENVIRON"] = "test"