summaryrefslogtreecommitdiff
path: root/tests/test_parsing.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_parsing.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_parsing.py')
-rwxr-xr-x[-rw-r--r--]tests/test_parsing.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/test_parsing.py b/tests/test_parsing.py
index a629d9fa..ac540183 100644..100755
--- a/tests/test_parsing.py
+++ b/tests/test_parsing.py
@@ -13,7 +13,6 @@ from cmd2.parsing import StatementParser, shlex_split
@pytest.fixture
def parser():
parser = StatementParser(
- allow_redirection=True,
terminators=[';', '&'],
multiline_commands=['multiline'],
aliases={'helpalias': 'help',