nextstrain / nextstrain.org

The Nextstrain website
https://nextstrain.org
GNU Affero General Public License v3.0
87 stars 49 forks source link

tests: Ensure SESSION_ENCRYPTION_KEYS is unset rather than assume it isn't #755

Closed tsibley closed 7 months ago

tsibley commented 7 months ago

Ensures the condition under which we're testing behaviour rather than assuming the condition.

I noticed failures of that assumption recently, because I've started running with keys configured in local development to allow for session continuity across local server restarts.

Checklist