diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2020-02-19 00:09:52 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-19 00:09:52 -0500 |
commit | 566f38c158e6e758a75ab7d9a020fa9e798d194a (patch) | |
tree | 19e80cf50968d7ae7573de1a8e6418a1f80b24bc /tests/test_cmd2.py | |
parent | 970c5fc42c69c1c03640c979df341e85e3c38848 (diff) | |
parent | eecb0ac77e75ae5c6917a6768d8a62cb5789649b (diff) | |
download | cmd2-git-566f38c158e6e758a75ab7d9a020fa9e798d194a.tar.gz |
Merge pull request #893 from python-cmd2/EmptyStatement_visibility
Empty statement visibility adjustment
Diffstat (limited to 'tests/test_cmd2.py')
-rwxr-xr-x | 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 dc9a3fa1..2db52d39 100755 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -20,7 +20,7 @@ except ImportError: from unittest import mock import cmd2 -from cmd2 import ansi, clipboard, constants, plugin, utils, COMMAND_NAME +from cmd2 import ansi, clipboard, constants, exceptions, plugin, utils, COMMAND_NAME from .conftest import (run_cmd, normalize, verify_help_text, HELP_HISTORY, SHORTCUTS_TXT, SHOW_TXT, SHOW_LONG, complete_tester, odd_file_names) @@ -1258,7 +1258,7 @@ def multiline_app(): return app def test_multiline_complete_empty_statement_raises_exception(multiline_app): - with pytest.raises(cmd2.EmptyStatement): + with pytest.raises(exceptions.EmptyStatement): multiline_app._complete_statement('') def test_multiline_complete_statement_without_terminator(multiline_app): |