

def test_plain_text_multiple_cc(self):
    args = ' --subject This_is_a_test --from foo@bar.com --to fie1@baz.com fie2@baz.com --text This_is_the_message --cc fie3@baz.com fie4@baz.com'
    args_list = (self.prefix + args).split()
    result = {
        'Source': 'foo@bar.com',
        'Destination': {
            'CcAddresses': ['fie3@baz.com', 'fie4@baz.com'],
            'ToAddresses': ['fie1@baz.com', 'fie2@baz.com'],
        },
        'Message': {
            'Body': {
                'Text': {
                    'Data': 'This_is_the_message',
                },
            },
            'Subject': {
                'Data': 'This_is_a_test',
            },
        },
    }
    self.assert_params_for_cmd(args_list, result)

dataset/ETHPy150Open aws/aws-cli/tests/functional/ses/test_send_email.py TestSendEmail.test_plain_text_multiple_cc/original