def expand_integer(str_range):
    try:
        answer = set()
        for i_group in str_range.split(','):
            if RANGE_OPERATOR in i_group:
                i_start, i_end = i_group.split(RANGE_OPERATOR)
                if i_start > i_end:
                    i_start, i_end = i_end, i_start
                start_int = parse_integer(i_start)
                end_int = parse_integer(i_end)
                answer |= set(map(str, range(start_int, end_int + 1)))
            else:
                answer.add(str(parse_integer(i_group)))
        return answer
    except ValueError:
        raise ValueError("integer range '%s' not parseable" % str_range)
Establish that if `get_command` is called against a command that
dataset/ETHPy150Open practo/r5d4/r5d4/mapping_functions.py/expand_integer--crossover with--dataset/ETHPy150Open ansible/tower-cli/tests/test_models_base.py/SubcommandTests.test_get_command_error