def test_read_until_A(self):
        want = ['x' * 10, 'match', 'y' * 10, EOF_sigil]
        self.dataq.put(want)
        telnet = telnetlib.Telnet(HOST, self.port)
        self.dataq.join()
        data = telnet.read_until('match')
        self.assertEqual(data, ''.join(want[:-2]))
read_until(expected, [timeout])
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_telnetlib.py/ReadTests.test_read_until_A