diff options
author | kotfu <kotfu@kotfu.net> | 2018-04-25 22:17:56 -0600 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2018-04-25 22:17:56 -0600 |
commit | 05ee395f0d487fc67979ce3d0824bdaadff5c811 (patch) | |
tree | ba2cf14ed249e2a0d3cb990e2944fc758c099a31 /tests/test_transcript.py | |
parent | a50c5683fd8aa499fb5dd4133198fe27c99c969c (diff) | |
download | cmd2-git-05ee395f0d487fc67979ce3d0824bdaadff5c811.tar.gz |
Remove POSIX_SHLEX and STRIP_QUOTES_FOR_NON_POSIX
Diffstat (limited to 'tests/test_transcript.py')
-rw-r--r-- | tests/test_transcript.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/test_transcript.py b/tests/test_transcript.py index 8ee5f3f6..bba56cab 100644 --- a/tests/test_transcript.py +++ b/tests/test_transcript.py @@ -15,7 +15,6 @@ from unittest import mock import pytest import cmd2 -from cmd2 import set_posix_shlex, set_strip_quotes from .conftest import run_cmd, StdOut, normalize class CmdLineApp(cmd2.Cmd): @@ -35,10 +34,6 @@ class CmdLineApp(cmd2.Cmd): super().__init__(*args, **kwargs) self.intro = 'This is an intro banner ...' - # Configure how arguments are parsed for commands using decorators - set_posix_shlex(False) - set_strip_quotes(True) - speak_parser = argparse.ArgumentParser() speak_parser.add_argument('-p', '--piglatin', action="store_true", help="atinLay") speak_parser.add_argument('-s', '--shout', action="store_true", help="N00B EMULATION MODE") |