Replace module-level SECRET_KEY cache with lazy _get_cached_secret_key() that re-reads env vars in test mode. This fixes 20 test failures caused by JWT secret mismatch when test modules load in different orders. |
||
|---|---|---|
| .. | ||
| api | ||
| auth | ||
| web | ||
| __init__.py | ||
| instance_config.py | ||
| main.py | ||
| secrets.py | ||
| utils.py | ||