mirror of
https://github.com/clearml/wexpect-venv
synced 2025-06-26 18:15:52 +00:00
[ADD] stop_interact test; [ADD] failure warnings around setecho
This commit is contained in:
@@ -50,6 +50,8 @@ class InteractTestCase(PexpectTestCase.PexpectTestCase):
|
||||
# Send a command
|
||||
p.sendline('echo hello')
|
||||
p.expect(cmdPrompt)
|
||||
|
||||
p.stop_interact()
|
||||
|
||||
self.assertEqual('hello', p.before.splitlines()[1])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user