

def test_count_scalar(self):
    args = ' --image-id ami-foobar --count 2'
    args_list = (self.prefix + args).split()
    result = {
        'ImageId': 'ami-foobar',
        'MaxCount': 2,
        'MinCount': 2,
    }
    args_list.assert_params_for_cmd(args_list, result)

dataset/ETHPy150Open aws/aws-cli/tests/functional/ec2/test_run_instances.py TestDescribeInstances.test_count_scalar/VarMisuse@49/81 `self`->`args_list`