From a1ce5070ed97e90c5946b82496d33952ab3b821c Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Fri, 2 Aug 2019 01:46:58 -0400 Subject: Fixed inconsistent parsing/tab completion behavior based on the value of `allow_redirection`. This flag is only meant to be a security setting that prevents redirection of stdout and should not alter parsing logic. --- tests/test_cmd2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 tests/test_cmd2.py (limited to 'tests/test_cmd2.py') diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py old mode 100644 new mode 100755 index 16c5eed4..8389b9ed --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -558,7 +558,7 @@ def test_feedback_to_output_false(base_app): def test_disallow_redirection(base_app): # Set allow_redirection to False - base_app.statement_parser.allow_redirection = False + base_app.allow_redirection = False filename = 'test_allow_redirect.txt' -- cgit v1.2.1