summaryrefslogtreecommitdiff
path: root/tests/test_completion.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-07-11 13:53:45 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-07-11 13:53:45 -0400
commit6cf0237abda400d60dad8fa42a22a927e943d0eb (patch)
treee5e6b1bad4f90566e329dff62d1590cb00df8a84 /tests/test_completion.py
parentca89266546d93b993cc3e48935b62de08332c3a0 (diff)
parent8109e70b0442206103fa5fe1a3af79d1851d7ec1 (diff)
downloadcmd2-git-6cf0237abda400d60dad8fa42a22a927e943d0eb.tar.gz
Merge branch 'master' into auto_completer_refactor
Diffstat (limited to 'tests/test_completion.py')
-rw-r--r--tests/test_completion.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_completion.py b/tests/test_completion.py
index 03208a88..1411cc49 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']