Skip to content

Commit

Permalink
Specify auth_requests_per_minute in test config
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Nov 14, 2024
1 parent 60121c7 commit f784590
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"access_token_ttl": 86400, # 1 day
"refresh_token_ttl": 604800, # 1 week
"requests_per_minute": 60,
"auth_requests_per_minute": 60,
"access_token_secret": "a800445648142061fc238d1f84e96200da87f4f9f784108ac90db8b4391b117b",
"refresh_token_secret": "833d369ac73d883123743a44b4a7fe21203cffc956f4c8a99be6e71aafa8e1aa",
"server_host": "0.0.0.0",
Expand Down Expand Up @@ -41,6 +42,7 @@ def _get_tokens(self):
json={"username": "guest",
"password": "password"})
self.tokens = response.json()
self.assertIn("access_token", self.tokens, self.tokens)
return self.tokens

def test_app_init(self):
Expand Down

0 comments on commit f784590

Please sign in to comment.