summaryrefslogtreecommitdiff
path: root/tests/test_transcript.py
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2017-01-06 12:23:48 +0000
committerGitHub <noreply@github.com>2017-01-06 12:23:48 +0000
commit46d1028a330ffe4d344b99739d1d4b607654ade5 (patch)
treea9d266360cc23d383335c69195a2b65cc8cba77f /tests/test_transcript.py
parentef074cc2ffb64b2c5281757820f6904bd368d51e (diff)
parent01a8ab20a7ce3544da7c3e69dfc5d4cb0ad257ae (diff)
downloadcmd2-git-46d1028a330ffe4d344b99739d1d4b607654ade5.tar.gz
Merge pull request #29 from tleonhardt/master
Refactored to create a unified Python 2/3 codebase based on six which doesn't require 2to3
Diffstat (limited to 'tests/test_transcript.py')
-rw-r--r--tests/test_transcript.py5
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