Skip to content

Commit

Permalink
Remove setting boto3 client
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-griffin committed Dec 13, 2024
1 parent d5b81e1 commit d294158
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,6 @@ def test_set_secret_updates_waf_first_when_all_distributions_have_header(self, r
]
mock_boto_client.describe_secret.return_value = mock_metadata
mock_boto_client.assume_role.return_value = mock_credentials
boto3.client = MagicMock(return_value=mock_boto_client)

time.sleep = MagicMock()
rotator.is_distribution_deployed = MagicMock(return_value=True)
Expand Down Expand Up @@ -751,7 +750,6 @@ def test_set_secret_updates_distributions_first_when_some_distributions_lack_hea
]
mock_boto_client.describe_secret.return_value = mock_metadata
mock_boto_client.assume_role.return_value = mock_credentials
boto3.client = MagicMock(return_value=mock_boto_client)

time.sleep = MagicMock()
rotator.is_distribution_deployed = MagicMock(return_value=True)
Expand Down

0 comments on commit d294158

Please sign in to comment.