Lines Matching refs:IAC
297 b'data sample with' + tl.IAC + b' one IAC',
298 b'a few' + tl.IAC + tl.IAC + b' iacs' + tl.IAC,
299 tl.IAC,
305 self.assertEqual(data.replace(tl.IAC,tl.IAC+tl.IAC), written)
327 self._test_command([tl.IAC, cmd])
328 self._test_command([b'x' * 100, tl.IAC, cmd, b'y'*100])
329 self._test_command([b'x' * 10, tl.IAC, cmd, b'y'*10])
331 self._test_command([tl.IAC + cmd for (cmd) in self.cmds])
335 send = [tl.IAC + tl.SB + tl.IAC + tl.SE,
336 tl.IAC + tl.SB + tl.IAC + tl.IAC + tl.IAC + tl.SE,
337 tl.IAC + tl.SB + tl.IAC + tl.IAC + b'aa' + tl.IAC + tl.SE,
338 tl.IAC + tl.SB + b'bb' + tl.IAC + tl.IAC + tl.IAC + tl.SE,
339 tl.IAC + tl.SB + b'cc' + tl.IAC + tl.IAC + b'dd' + tl.IAC + tl.SE,
346 want_sb_data = tl.IAC + tl.IAC + b'aabb' + tl.IAC + b'cc' + tl.IAC + b'dd'
357 (tl.IAC + bytes([88]), ": IAC 88 not recognized\n"),
358 (tl.IAC + tl.DO + bytes([1]), ": IAC DO 1\n"),
359 (tl.IAC + tl.DONT + bytes([1]), ": IAC DONT 1\n"),
360 (tl.IAC + tl.WILL + bytes([1]), ": IAC WILL 1\n"),
361 (tl.IAC + tl.WONT + bytes([1]), ": IAC WONT 1\n"),