Home
last modified time | relevance | path

Searched refs:_test_command (Results 1 – 2 of 2) sorted by relevance

/aosp_15_r20/external/python/cpython3/Lib/test/
Dtest_telnetlib.py315 def _test_command(self, data): member in OptionTests
331 self._test_command([tl.IAC, cmd])
332 self._test_command([b'x' * 100, tl.IAC, cmd, b'y'*100])
333 self._test_command([b'x' * 10, tl.IAC, cmd, b'y'*10])
335 self._test_command([tl.IAC + cmd for (cmd) in self.cmds])
/aosp_15_r20/external/python/cpython2/Lib/test/
Dtest_telnetlib.py337 def _test_command(self, data): member in OptionTests
362 self._test_command(['x' * 100, tl.IAC + cmd, 'y'*100, EOF_sigil])
363 self._test_command(['x' * 10, tl.IAC + cmd, 'y'*10, EOF_sigil])
364 self._test_command([tl.IAC + cmd, EOF_sigil])
366 self._test_command([tl.IAC + cmd for (cmd) in self.cmds] + [EOF_sigil])