diff options
Diffstat (limited to 'tests/test_parsing.py')
-rw-r--r-- | tests/test_parsing.py | 12 |
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): |