apm-wo-analysis/tests/conftest.py

13 lines
469 B
Python

"""Central test configuration.
Sets dummy environment variables at import time so modules that read
``os.environ`` at module load (slackio, interactions, handler) can be imported
without real AWS credentials. Real values are monkeypatched per-test where
needed.
"""
import os
os.environ.setdefault("SLACK_SECRET_NAME", "test-slack-secret")
os.environ.setdefault("DASHBOARD_URL_PARAM", "/test/dashboard-url")
os.environ.setdefault("ANALYTICS_BUCKET", "test-bucket")