diff options
author | Eric Lin <anselor@gmail.com> | 2018-05-02 15:22:14 -0400 |
---|---|---|
committer | Eric Lin <anselor@gmail.com> | 2018-05-02 15:22:14 -0400 |
commit | a55f0b6ed559d03f2d8b596898d638b288c11a68 (patch) | |
tree | 54d84c8d1d7c14247ac3a22186ed106190a8b494 /tests/test_parsing.py | |
parent | dbf4846e8bc0e6ca38c928d8fe4752f9b6173803 (diff) | |
parent | a95c8a065abeac286c196783393ecc49e4356f54 (diff) | |
download | cmd2-git-a55f0b6ed559d03f2d8b596898d638b288c11a68.tar.gz |
Merge branch 'test_merge' into test_ply_merge
Diffstat (limited to 'tests/test_parsing.py')
-rw-r--r-- | tests/test_parsing.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_parsing.py b/tests/test_parsing.py index 1e745bda..ab8ed098 100644 --- a/tests/test_parsing.py +++ b/tests/test_parsing.py @@ -7,7 +7,7 @@ Released under MIT license, see LICENSE file """ import pytest -import cmd2 +from cmd2 import cmd2 from cmd2.parsing import StatementParser @@ -260,10 +260,10 @@ def test_parse_redirect_to_unicode_filename(parser): def test_empty_statement_raises_exception(): app = cmd2.Cmd() - with pytest.raises(cmd2.cmd2.EmptyStatement): + with pytest.raises(cmd2.EmptyStatement): app._complete_statement('') - with pytest.raises(cmd2.cmd2.EmptyStatement): + with pytest.raises(cmd2.EmptyStatement): app._complete_statement(' ') @pytest.mark.parametrize('line,command,args', [ |