diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2016-12-11 23:26:31 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2016-12-11 23:26:31 -0500 |
commit | 01a8ab20a7ce3544da7c3e69dfc5d4cb0ad257ae (patch) | |
tree | a9d266360cc23d383335c69195a2b65cc8cba77f /tests/test_transcript.py | |
parent | 43922e838eb3b26e43606c8e1070259661a80e33 (diff) | |
parent | 1e53bad1dbaa26e2462718df01d15f7d385d610f (diff) | |
download | cmd2-git-01a8ab20a7ce3544da7c3e69dfc5d4cb0ad257ae.tar.gz |
Merge branch 'dev'
Diffstat (limited to 'tests/test_transcript.py')
-rw-r--r-- | tests/test_transcript.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/test_transcript.py b/tests/test_transcript.py index 06cf50b6..dfb37da7 100644 --- a/tests/test_transcript.py +++ b/tests/test_transcript.py @@ -1,3 +1,4 @@ +# coding=utf-8 # # Cmd2 functional testing based on transcript # @@ -37,7 +38,7 @@ class CmdLineApp(Cmd): # self.stdout.write is better than "print", because Cmd can be # initialized with a non-standard output destination - do_say = do_speak # now "say" is a synonym for "speak" + do_say = do_speak # now "say" is a synonym for "speak" do_orate = do_speak # another synonym, but this one takes multi-line input @@ -45,7 +46,7 @@ class CmdLineApp(Cmd): def _cmdline_app(): c = CmdLineApp() c.stdout = StdOut() - #c.shortcuts.update({'&': 'speak', 'h': 'hello'}) + # c.shortcuts.update({'&': 'speak', 'h': 'hello'}) c.settable.append('maxrepeats Max number of `--repeat`s allowed') return c |