From ccce378ff01e6099c1de515792a7a4a6702cad8c Mon Sep 17 00:00:00 2001 From: Guillaume Charest <1690085+gcharest@users.noreply.github.com> Date: Fri, 26 Jul 2024 18:52:05 +0000 Subject: [PATCH] chore: remove commented block --- app/tests/modules/aws/test_aws.py | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/app/tests/modules/aws/test_aws.py b/app/tests/modules/aws/test_aws.py index ba5e756e..042fc99b 100644 --- a/app/tests/modules/aws/test_aws.py +++ b/app/tests/modules/aws/test_aws.py @@ -34,26 +34,6 @@ def test_aws_command_handles_access_command(request_access_modal): request_access_modal.assert_called_with(client, body) -# @patch("modules.aws.aws.slack_commands.parse_command") -# @patch("modules.aws.aws.request_user_provisioning") -# def test_aws_command_handles_provision_command( -# mock_request_provisioning: MagicMock, mock_parse_command: MagicMock -# ): -# ack = MagicMock() -# logger = MagicMock() -# respond = MagicMock() -# client = MagicMock() -# body = MagicMock() -# mock_parse_command.return_value = ["user", "create", "user.name@email.com"] -# aws.aws_command( -# ack, {"text": "user create user.name@email.com"}, logger, respond, client, body -# ) -# ack.assert_called() -# mock_request_provisioning.assert_called_with( -# client, body, respond, ["create", "user.name@email.com"], logger -# ) - - @patch("modules.aws.aws.slack_commands.parse_command") @patch("modules.aws.groups.command_handler") def test_aws_command_handles_groups_command(