WMGZON/tests/__init__.py

11 lines
270 B
Python

import os
from dotenv import load_dotenv
# Setup test environment variables
load_dotenv()
# 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"