Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Only S3
Browse files Browse the repository at this point in the history
  • Loading branch information
mattiamatrix committed Jan 3, 2024
1 parent 3cd1eab commit e0a927b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/test_credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,3 @@ def test_get_client_cached():
# Verify that _get_client_cached is called only once due to caching
assert _get_client_cached.cache_info().misses == 1
assert _get_client_cached.cache_info().hits == 2

# Test with different parameters to ensure they are cached separately
aws_credentials_block.get_client(ClientType.SECRETS_MANAGER)
aws_credentials_block.get_client(ClientType.SECRETS_MANAGER)

# "Should be called again with different parameters"
assert _get_client_cached.cache_info().misses == 2
assert _get_client_cached.cache_info().hits == 3

0 comments on commit e0a927b

Please sign in to comment.