def _test_gen_skeleton(command_name, operation_name):
    p = aws('%s %s --generate-cli-skeleton' % (command_name, operation_name))
    assert_equal(p.rc, 0, 'Received non zero RC (%s) for command: %s %s'
                 % (p.rc, command_name, operation_name))
    try:
        parsed = json.loads(p.stdout)
    except __HOLE__ as e:
        raise AssertionError(
            "Could not generate CLI skeleton for command: %s %s\n"
            "stdout:\n%s\n"
            "stderr:\n%s\n" % (command_name, operation_name))
dataset/ETHPy150Open aws/aws-cli/tests/integration/customizations/test_generatecliskeleton.py/_test_gen_skeleton