6 lines
278 B
Python
6 lines
278 B
Python
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)
|