forked from phoenix/litellm-mirror
fix test_read_nonexistent_secret
This commit is contained in:
parent
6c75e3eaa7
commit
025977ea6d
1 changed files with 3 additions and 2 deletions
|
@ -134,5 +134,6 @@ async def test_read_nonexistent_secret():
|
|||
secret_manager = AWSSecretsManagerV2()
|
||||
nonexistent_secret = f"litellm_nonexistent_{uuid.uuid4().hex}"
|
||||
|
||||
with pytest.raises(ValueError):
|
||||
await secret_manager.async_read_secret(secret_name=nonexistent_secret)
|
||||
response = await secret_manager.async_read_secret(secret_name=nonexistent_secret)
|
||||
|
||||
assert response is None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue