diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-07-11 13:50:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-11 13:50:40 -0400 |
commit | 8109e70b0442206103fa5fe1a3af79d1851d7ec1 (patch) | |
tree | 5bd5cf6da6167d34c6450b2f5fd3ce39e20682bd /tests/test_completion.py | |
parent | dbd83973b62b87e8dc74426af410b0852360f7e8 (diff) | |
parent | c0699f7742506cc01de7a6ccdc60c1e1e397e60a (diff) | |
download | cmd2-git-8109e70b0442206103fa5fe1a3af79d1851d7ec1.tar.gz |
Merge pull request #717 from python-cmd2/statement_parser
Restore self.statement_parser to a public attribute in cmd2.Cmd
Diffstat (limited to 'tests/test_completion.py')
-rw-r--r-- | tests/test_completion.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_completion.py b/tests/test_completion.py index eea34ba6..5cfc741c 100644 --- a/tests/test_completion.py +++ b/tests/test_completion.py @@ -703,7 +703,7 @@ def test_tokens_for_completion_quoted_redirect(cmd2_app): endidx = len(line) begidx = endidx - len(text) - cmd2_app._statement_parser.redirection = True + cmd2_app.statement_parser.redirection = True expected_tokens = ['command', '>file'] expected_raw_tokens = ['command', '">file'] @@ -717,7 +717,7 @@ def test_tokens_for_completion_redirect_off(cmd2_app): endidx = len(line) begidx = endidx - len(text) - cmd2_app._statement_parser.allow_redirection = False + cmd2_app.statement_parser.allow_redirection = False expected_tokens = ['command', '>file'] expected_raw_tokens = ['command', '>file'] |