summaryrefslogtreecommitdiff
path: root/tests/test_history.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2019-08-02 01:46:58 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2019-08-02 01:46:58 -0400
commita1ce5070ed97e90c5946b82496d33952ab3b821c (patch)
treef0916bccbcca134c1aa1b75b0db135f722d0d259 /tests/test_history.py
parent65875bdfc434474ecd2c019ef77fa99d3da8faf9 (diff)
downloadcmd2-git-a1ce5070ed97e90c5946b82496d33952ab3b821c.tar.gz
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.
Diffstat (limited to 'tests/test_history.py')
-rwxr-xr-x[-rw-r--r--]tests/test_history.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test_history.py b/tests/test_history.py
index 9752ed07..476cdd7e 100644..100755
--- a/tests/test_history.py
+++ b/tests/test_history.py
@@ -268,7 +268,6 @@ def histitem():
def parser():
from cmd2.parsing import StatementParser
parser = StatementParser(
- allow_redirection=True,
terminators=[';', '&'],
multiline_commands=['multiline'],
aliases={'helpalias': 'help',