mirror of
https://github.com/Skyvern-AI/skyvern.git
synced 2026-04-28 03:30:10 +00:00
chore(security): address Oneleet alerts (SMTP env, sha1 flag, test key rename) (#5552)
This commit is contained in:
parent
d1582e0013
commit
ad8cf93468
2 changed files with 2 additions and 2 deletions
|
|
@ -275,7 +275,7 @@ async def test_validate_mcp_api_key_concurrent_callers_all_succeed(
|
|||
monkeypatch.setattr(mcp_http_auth, "resolve_org_from_api_key", _resolve)
|
||||
monkeypatch.setattr(mcp_http_auth, "_get_auth_db", lambda: object())
|
||||
|
||||
results = await asyncio.gather(*[mcp_http_auth.validate_mcp_api_key("sk_test_concurrent") for _ in range(5)])
|
||||
results = await asyncio.gather(*[mcp_http_auth.validate_mcp_api_key("test-key-concurrent") for _ in range(5)])
|
||||
assert all(r.organization_id == "org_concurrent" for r in results)
|
||||
# First call populates cache; remaining may or may not hit DB depending on
|
||||
# scheduling, but all must succeed.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue