fix test_read_nonexistent_secret

This commit is contained in:
Ishaan Jaff 2024-11-13 21:52:55 -08:00
parent 6c75e3eaa7
commit 025977ea6d

View file

@ -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