Files
OpenVPN-Monitoring-Simple/APP_PROFILER/conftest.py
T

6 lines
278 B
Python
Raw Normal View History

import os
# utils.auth refuses to import without a strong JWT key (no built-in default), and tests import
# main: give them a throwaway key before anything is imported. A real key in the environment is
# left untouched.
os.environ.setdefault("OVPMON_API_SECRET_KEY", "x" * 64)