import os # The API refuses to start without a strong JWT key (no built-in default), and tests import the # application: 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)