mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-07-23 04:21:52 +00:00
fix(sqs): fix flaky test (#6594)
Co-authored-by: Daniel Barranquero <74871504+danibarranqueroo@users.noreply.github.com>
This commit is contained in:
+4
-1
@@ -134,7 +134,10 @@ class Test_sqs_queues_not_publicly_accessible:
|
||||
)
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user