Skip to content

Commit

Permalink
Fix 2nd and 3rd expect/response PS1 prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
jquast committed Nov 22, 2014
1 parent dfa9b3d commit d455323
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_run.py
Expand Up @@ -74,9 +74,9 @@ def test_run_bad_exitstatus (self):
def test_run_tuple_list (self):
events = [
# second match on 'abc', echo 'def'
('abc\r\n.*$', 'echo "def"\n'),
('abc\r\n.*GO:', 'echo "def"\n'),
# final match on 'def': exit
('def\r\n.*$', 'exit\n'),
('def\r\n.*GO:', 'exit\n'),
# first match on 'GO:' prompt, echo 'abc'
('GO:', 'echo "abc"\n')
]
Expand Down

0 comments on commit d455323

Please sign in to comment.