'Returns list of lines received until the line matching the B{marker} was found.
@type marker: str
@param marker: Marker
@rtype: list
@return: List of strings'

def recvuntil(self, marker):

    lines = []
    while True:
        line = self.recvl()
        if (line == marker):
            return lines
        lines.append(line)
