mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
test(auth): annotate the session-minting patch for the test-quality gate
This commit is contained in:
parent
ea99bd0585
commit
12e8a29e7b
1 changed files with 1 additions and 1 deletions
|
|
@ -1004,7 +1004,7 @@ class TestPasswordResetRequiredSessionMinting:
|
|||
|
||||
async def _login(self, mock_prisma_client) -> tuple[LoginResult, dict]:
|
||||
with patch.dict(os.environ, _DB_LOGIN_ENV):
|
||||
with patch(
|
||||
with patch( # test-quality-ok: asserting the minted key's restriction requires seeing its kwargs
|
||||
"litellm.proxy.auth.login_utils.generate_key_helper_fn",
|
||||
new_callable=AsyncMock,
|
||||
return_value={"token": "session-token"},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue