Skip to content

Commit

Permalink
chore: remove commented block
Browse files Browse the repository at this point in the history
  • Loading branch information
gcharest authored Jul 26, 2024
1 parent 1ba6dde commit ccce378
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions app/tests/modules/aws/test_aws.py
Original file line number Diff line number Diff line change
Expand Up @@ -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", "[email protected]"]
# aws.aws_command(
# ack, {"text": "user create [email protected]"}, logger, respond, client, body
# )
# ack.assert_called()
# mock_request_provisioning.assert_called_with(
# client, body, respond, ["create", "[email protected]"], logger
# )


@patch("modules.aws.aws.slack_commands.parse_command")
@patch("modules.aws.groups.command_handler")
def test_aws_command_handles_groups_command(
Expand Down

0 comments on commit ccce378

Please sign in to comment.