fix rate-limit valid login bug and fix sessions of redis and psql in tests
This commit is contained in:
@@ -12,8 +12,10 @@ class TestAuth:
|
||||
|
||||
response = await requests_async.post(f"{target_url}/protected/token")
|
||||
response.raise_for_status()
|
||||
|
||||
assert exc_info.value.response.status_code != 403
|
||||
assert exc_info.value.response.status_code != 401
|
||||
assert exc_info.value.response.status_code != 429
|
||||
|
||||
async def test_get_refresh_token_positive(self, target_url:str)->None:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user