summaryrefslogtreecommitdiff
path: root/tests/test_cmd2.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2019-08-02 08:21:33 -0400
committerGitHub <noreply@github.com>2019-08-02 08:21:33 -0400
commit54e30144d153b612563a1b8e280da28f10ff22a3 (patch)
treef0916bccbcca134c1aa1b75b0db135f722d0d259 /tests/test_cmd2.py
parent65875bdfc434474ecd2c019ef77fa99d3da8faf9 (diff)
parenta1ce5070ed97e90c5946b82496d33952ab3b821c (diff)
downloadcmd2-git-54e30144d153b612563a1b8e280da28f10ff22a3.tar.gz
Merge pull request #747 from python-cmd2/allow_redirection_fix
Fixed inconsistent treatment of allow_redirection
Diffstat (limited to 'tests/test_cmd2.py')
-rwxr-xr-x[-rw-r--r--]tests/test_cmd2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py
index 16c5eed4..8389b9ed 100644..100755
--- 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'