diff options
| author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-03-20 20:32:23 -0400 |
|---|---|---|
| committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-03-20 20:32:23 -0400 |
| commit | 0e927cc650c37be9a7028d72ebb26b1ff820f8c8 (patch) | |
| tree | 0fdcd8db6d5192d1d05d5a36cc002a904d90c0eb /tests | |
| parent | 361774895ac825b5f12a38b5bd0ab784cc9a3e95 (diff) | |
| parent | 450466e560b312034d4a4cf0a256e6051954d1f4 (diff) | |
| download | cmd2-git-0e927cc650c37be9a7028d72ebb26b1ff820f8c8.tar.gz | |
Merge branch 'master' into quoted_completion
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_cmd2.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index d69bf343..20d477ba 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -915,6 +915,8 @@ def say_app(): return app def test_interrupt_quit(say_app): + say_app.quit_on_sigint = True + # Mock out the input call so we don't actually wait for a user's response on stdin m = mock.MagicMock(name='input') m.side_effect = ['say hello', KeyboardInterrupt(), 'say goodbye', 'eof'] |
