summaryrefslogtreecommitdiff
path: root/tests/test_interact.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_interact.py')
-rwxr-xr-xtests/test_interact.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_interact.py b/tests/test_interact.py
index 39a1f76..623201b 100755
--- a/tests/test_interact.py
+++ b/tests/test_interact.py
@@ -43,6 +43,8 @@ class InteractTestCase (PexpectTestCase.PexpectTestCase):
p.expect (b'<out>Hello')
p.expect (b'<out>there')
p.expect (b'<out>Mr. Python')
+ p.sendcontrol(']')
+ p.expect_exact('Escaped interact')
assert p.isalive()
p.sendeof ()
p.expect (pexpect.EOF)