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