summaryrefslogtreecommitdiff
path: root/tests/test_cmd2.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2020-02-19 00:09:52 -0500
committerGitHub <noreply@github.com>2020-02-19 00:09:52 -0500
commit566f38c158e6e758a75ab7d9a020fa9e798d194a (patch)
tree19e80cf50968d7ae7573de1a8e6418a1f80b24bc /tests/test_cmd2.py
parent970c5fc42c69c1c03640c979df341e85e3c38848 (diff)
parenteecb0ac77e75ae5c6917a6768d8a62cb5789649b (diff)
downloadcmd2-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-xtests/test_cmd2.py4
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):