diff options
author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-09-25 14:16:11 -0400 |
---|---|---|
committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2018-09-25 14:16:24 -0400 |
commit | 40fa455d79cf99fa32ed8b6c93e08141817e73e0 (patch) | |
tree | 0cb3d28de8a207e6726ec04241f5033b8b0fb41b /tests/test_cmd2.py | |
parent | 38f070a5876e91945bfadd3fe60ddcb8b21b96c3 (diff) | |
download | cmd2-git-40fa455d79cf99fa32ed8b6c93e08141817e73e0.tar.gz |
Fixed issue where only first alias was working
Diffstat (limited to 'tests/test_cmd2.py')
-rw-r--r-- | tests/test_cmd2.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_cmd2.py b/tests/test_cmd2.py index 17c19f2a..8a54ac5c 100644 --- a/tests/test_cmd2.py +++ b/tests/test_cmd2.py @@ -1828,7 +1828,8 @@ def test_complete_unalias(base_app): # Validate that there are now completions expected = ['fake', 'fall'] - assert base_app.complete_unalias(text, line, begidx, endidx) == expected + result = base_app.complete_unalias(text, line, begidx, endidx) + assert sorted(expected) == sorted(result) def test_ppaged(base_app): msg = 'testing...' |