summaryrefslogtreecommitdiff
path: root/tests/test_parsing.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2017-03-12 22:07:06 -0400
committerGitHub <noreply@github.com>2017-03-12 22:07:06 -0400
commite1e563bbc5b84f8daf698d18cf9f6e2cf205bb83 (patch)
treeb43f46cc5ab3f30aed99592e83df2504f3c606bb /tests/test_parsing.py
parent3a8b3baa72ac4429c6b2684a612a53484015151c (diff)
parent61562f8fbdea07bffebd240de7a85f7ad6af119a (diff)
downloadcmd2-git-e1e563bbc5b84f8daf698d18cf9f6e2cf205bb83.tar.gz
Merge pull request #74 from python-cmd2/more_cleanup
More cleanup
Diffstat (limited to 'tests/test_parsing.py')
-rw-r--r--tests/test_parsing.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_parsing.py b/tests/test_parsing.py
index f073bc01..d6b64093 100644
--- a/tests/test_parsing.py
+++ b/tests/test_parsing.py
@@ -51,13 +51,13 @@ def test_stubborn_dict_class():
('shoe', 'schuh'), ('small', 'klein')]
def test_stubborn_dict_factory():
- assert sorted(cmd2.stubbornDict('cow a bovine\nhorse an equine').items()) == [('cow', 'a bovine'),
- ('horse', 'an equine')]
- assert sorted(cmd2.stubbornDict(['badger', 'porcupine a poky creature']).items()) == [('badger', ''),
- ('porcupine',
+ assert sorted(cmd2.stubborn_dict('cow a bovine\nhorse an equine').items()) == [('cow', 'a bovine'),
+ ('horse', 'an equine')]
+ assert sorted(cmd2.stubborn_dict(['badger', 'porcupine a poky creature']).items()) == [('badger', ''),
+ ('porcupine',
'a poky creature')]
- assert sorted(cmd2.stubbornDict(turtle='has shell', frog='jumpy').items()) == [('frog', 'jumpy'),
- ('turtle', 'has shell')]
+ assert sorted(cmd2.stubborn_dict(turtle='has shell', frog='jumpy').items()) == [('frog', 'jumpy'),
+ ('turtle', 'has shell')]
def test_history_span(hist):