summaryrefslogtreecommitdiff
path: root/tests/test_parsing.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2017-03-12 21:52:29 -0400
committerTodd Leonhardt <todd.leonhardt@gmail.com>2017-03-12 21:52:29 -0400
commit61562f8fbdea07bffebd240de7a85f7ad6af119a (patch)
treeb43f46cc5ab3f30aed99592e83df2504f3c606bb /tests/test_parsing.py
parent9a5713ca79cdb505e780ef31ac7bfde4cbf53d8f (diff)
downloadcmd2-git-61562f8fbdea07bffebd240de7a85f7ad6af119a.tar.gz
Finished code cleanup for now
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):