From 134c795f4b08f99cf12ea8b9f6823677d69ea7c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20Mart=C3=ADn?= Date: Mon, 26 Feb 2024 11:54:15 +0100 Subject: [PATCH] fix(docs): Fix typo and change info about mocking (#3438) --- docs/developer-guide/unit-testing.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/developer-guide/unit-testing.md b/docs/developer-guide/unit-testing.md index 0ea85b9c..34cadfea 100644 --- a/docs/developer-guide/unit-testing.md +++ b/docs/developer-guide/unit-testing.md @@ -389,7 +389,7 @@ with mock.patch( "prowler.providers..lib.audit_info.audit_info.audit_info", new=audit_info, ), mock.patch( - "prowler.providers.aws.services...._client", + "prowler.providers..services...._client", new=(audit_info), ): ``` @@ -411,10 +411,10 @@ with mock.patch( "prowler.providers..lib.audit_info.audit_info.audit_info", new=audit_info, ), mock.patch( - "prowler.providers.aws.services..", + "prowler.providers..services..", new=(audit_info), ) as service_client, mock.patch( - "prowler.providers.aws.services.._client._client", + "prowler.providers..services.._client._client", new=service_client, ): ```