Skip to content

Commit

Permalink
Grumble: zoneinfo error (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
signebedi committed Sep 6, 2024
1 parent 3709c2c commit 918a712
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libreforms_fastapi/utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,9 @@ class TestingConfig(Config):

SMTP_ENABLED:bool = False

# Hard code locale for testing
TIMEZONE: ZoneInfo = ZoneInfo('America/New_York')

RATE_LIMITS_ENABLED:bool = False
MAX_LOGIN_ATTEMPTS:int = 0
REQUIRE_EMAIL_VERIFICATION:bool = False
Expand Down

0 comments on commit 918a712

Please sign in to comment.