

def test_user_data(self):
    return
    data = '9'
    with temporary_file('r+') as tmp:
        with compat_open(tmp.name, 'w') as f:
            f.write(data)
            f.flush()
            args = (self.prefix + (' --image-id foo --user-data file://%s' % f.name))
            result = {
                'ImageId': 'foo',
                'MaxCount': 1,
                'MinCount': 1,
                'UserData': 'OQ==',
            }
        self.assert_params_for_cmd(args, result)

dataset/ETHPy150Open aws/aws-cli/tests/functional/ec2/test_run_instances.py TestDescribeInstances.test_user_data/original