

def test_html_both(self):
    args = ' --subject This_is_a_test --from foo@bar.com --to fie@baz.com --html This_is_the_html_message --text This_is_the_text_message'
    args_list = (self.prefix + args).split()
    result = {
        'Source': 'foo@bar.com',
        'Destination': {
            'ToAddresses': ['fie@baz.com'],
        },
        'Message': {
            'Subject': {
                'Data': 'This_is_a_test',
            },
            'Body': {
                'Text': {
                    'Data': 'This_is_the_text_message',
                },
                'Html': {
                    'Data': 'This_is_the_html_message',
                },
            },
        },
    }
    self.assert_params_for_cmd(args_list, result)

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