@@ -26,7 +26,6 @@ class CmdLineApp(cmd2.Cmd):
2626 def __init__ (self , * args , ** kwargs ):
2727 self .multiline_commands = ['orate' ]
2828 self .maxrepeats = 3
29- self .redirector = '->'
3029
3130 # Add stuff to settable and/or shortcuts before calling base class initializer
3231 self .settable ['maxrepeats' ] = 'Max number of `--repeat`s allowed'
@@ -63,7 +62,7 @@ def do_speak(self, opts, arg):
6362 def do_mumble (self , opts , arg ):
6463 """Mumbles what you tell me to."""
6564 repetitions = opts .repeat or 1
66- arg = arg .split ()
65+ # arg = arg.split()
6766 for i in range (min (repetitions , self .maxrepeats )):
6867 output = []
6968 if random .random () < .33 :
@@ -229,15 +228,15 @@ def test_invalid_syntax(_cmdline_app, capsys):
229228 ('characterclass.txt' , False ),
230229 ('dotstar.txt' , False ),
231230 ('extension_notation.txt' , False ),
232- # ('from_cmdloop.txt', True),
231+ ('from_cmdloop.txt' , True ),
233232 ('multiline_no_regex.txt' , False ),
234233 ('multiline_regex.txt' , False ),
235234 ('regex_set.txt' , False ),
236235 ('singleslash.txt' , False ),
237236 ('slashes_escaped.txt' , False ),
238237 ('slashslash.txt' , False ),
239238 ('spaces.txt' , False ),
240- # ('word_boundaries.txt', False),
239+ ('word_boundaries.txt' , False ),
241240 ])
242241def test_transcript (request , capsys , filename , feedback_to_output ):
243242 # Create a cmd2.Cmd() instance and make sure basic settings are
0 commit comments