

def test_count_in_cli_and_in_json(self):
    input_json = '{"ImageId":"ami-xxxx","MaxCount":9,"MinCount":5}'
    args_list = ((self.prefix + ' --count 3 --cli-input-json ') + input_json).split()
    result = {
        'ImageId': 'ami-xxxx',
        'MaxCount': 3,
        'MinCount': 3,
    }
    input_json.assert_params_for_cmd(args_list, result)

dataset/ETHPy150Open aws/aws-cli/tests/functional/ec2/test_run_instances.py TestDescribeInstances.test_count_in_cli_and_in_json/VarMisuse@53/109 `self`->`input_json`