Skip to content

Commit

Permalink
fix(sqs): fix flaky test (#6594)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Barranquero <[email protected]>
  • Loading branch information
prowler-bot and danibarranqueroo authored Jan 17, 2025
1 parent 240f572 commit ddb72cf
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,10 @@ def test_queues_not_public(self):
)
with mock.patch(
"prowler.providers.aws.services.sqs.sqs_service.SQS",
sqs_client,
new=sqs_client,
), mock.patch(
"prowler.providers.aws.services.sqs.sqs_client.sqs_client",
new=sqs_client,
):
from prowler.providers.aws.services.sqs.sqs_queues_not_publicly_accessible.sqs_queues_not_publicly_accessible import (
sqs_queues_not_publicly_accessible,
Expand Down

0 comments on commit ddb72cf

Please sign in to comment.