summaryrefslogtreecommitdiff
path: root/tests/test_transcript.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2019-03-18 22:47:24 -0400
committerGitHub <noreply@github.com>2019-03-18 22:47:24 -0400
commit57dd827963491439e40eb5dfe20811c14ea757ff (patch)
tree9503d37d813a83a4c991d8ff8b2ed92e4a97e4ce /tests/test_transcript.py
parent83a28727d012ab067d18d89d3b1ce6410459f67b (diff)
parent4523bc6a9fc36ff879b6767dcd23923aa40c4c47 (diff)
downloadcmd2-git-57dd827963491439e40eb5dfe20811c14ea757ff.tar.gz
Merge pull request #648 from python-cmd2/attributes
Converted class attributes to instance attributes
Diffstat (limited to 'tests/test_transcript.py')
-rw-r--r--tests/test_transcript.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_transcript.py b/tests/test_transcript.py
index f93642b8..4a03ebe0 100644
--- a/tests/test_transcript.py
+++ b/tests/test_transcript.py
@@ -29,10 +29,9 @@ class CmdLineApp(cmd2.Cmd):
MUMBLE_LAST = ['right?']
def __init__(self, *args, **kwargs):
- self.multiline_commands = ['orate']
self.maxrepeats = 3
- super().__init__(*args, **kwargs)
+ super().__init__(*args, multiline_commands=['orate'], **kwargs)
# Make maxrepeats settable at runtime
self.settable['maxrepeats'] = 'Max number of `--repeat`s allowed'