(self, p)
| 89 | assert index == 2, index |
| 90 | |
| 91 | def _expect_echo_toggle_on(self, p): |
| 92 | p.setecho(1) # Turn on tty echo |
| 93 | time.sleep(0.2) # there is no waitecho() ! |
| 94 | p.sendline('7890') # Should see this twice. |
| 95 | index = p.expect ([pexpect.EOF, 'abcdé', 'wxyz', '7890']) |
| 96 | assert index == 3, index |
| 97 | index = p.expect ([pexpect.EOF, 'abcdé', 'wxyz', '7890']) |
| 98 | assert index == 3, index |
| 99 | p.sendeof() |
| 100 | |
| 101 | def test_log_unicode(self): |
| 102 | msg = "abcΩ÷" |
no test coverage detected