diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-02-09 00:17:44 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-02-09 00:17:44 -0500 |
commit | 8209a5ada836355148496a543f14179a545ee79c (patch) | |
tree | b23f2ebfdbc78f8c1707e5ca7b0afd8f7c612e35 /tests/test_cmd2.py | |
parent | 6eb8dde0d33df2d73f9c7ff75c6beddae5453ddd (diff) | |
download | cmd2-git-8209a5ada836355148496a543f14179a545ee79c.tar.gz |
Try increasing timeout to see if it fixes unit test on at least some platforms
Diffstat (limited to 'tests/test_cmd2.py')
-rw-r--r-- | tests/test_cmd2.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index 454fdc1f..28f133e6 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -1532,7 +1532,7 @@ def test_persistent_history(request): test_dir = os.path.dirname(request.module.__file__) persistent_app = os.path.join(test_dir, '..', 'examples', 'persistent_history.py') - # STart an instance of the persistent history example and send it a few commands + # Start an instance of the persistent history example and send it a few commands child = pexpect.spawn(persistent_app) prompt = 'ph> ' child.expect(prompt) @@ -1548,7 +1548,7 @@ def test_persistent_history(request): child2 = pexpect.spawn(persistent_app) child2.expect(prompt) child2.send(up_arrow) - child2.expect('quit', timeout=5) + child2.expect('quit') assert child2.after == b'quit' |