def str_to_bytes(string):
    """ Convert from a Python string to a list of integers, where each integer represents the value of the corresponding byte of the string. As a result, the length of the output list should equal the length of the input string.

    Example test case:

        "test" -> [116, 101, 115, 116]

    """
    strToIntList = [ord(value) for value in string]
    return strToIntList