summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2018-08-02 23:49:08 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2018-08-02 23:49:08 -0400
commit9a5fb90f18e90dbecf3a33337bbda36403b2256d (patch)
treee024487508974a3d234f1ae4c84d009323a82a3c
parentc79e56d4a3a41bd2d4b152a27c2334fd9d238fd4 (diff)
downloadcmd2-git-9a5fb90f18e90dbecf3a33337bbda36403b2256d.tar.gz
Updated docs and unit tests
-rwxr-xr-xREADME.md3
-rw-r--r--tests/test_completion.py2
2 files changed, 2 insertions, 3 deletions
diff --git a/README.md b/README.md
index a60f0a18..b2eb314c 100755
--- a/README.md
+++ b/README.md
@@ -34,7 +34,6 @@ Main Features
- Ability to load commands at startup from an initialization script
- Settable environment parameters
- Parsing commands with arguments using `argparse`, including support for sub-commands
-- Sub-menu support via the ``AddSubmenu`` decorator
- Unicode character support
- Good tab-completion of commands, sub-commands, file system paths, and shell commands
- Support for Python 3.4+ on Windows, macOS, and Linux
@@ -58,7 +57,7 @@ pip install -U cmd2
```
cmd2 works with Python 3.4+ on Windows, macOS, and Linux. It is pure Python code with
-the only 3rd-party dependencies being on [attrs](https://github.com/python-attrs/attrs),
+the only 3rd-party dependencies being on [attrs](https://github.com/python-attrs/attrs),
[colorama](https://github.com/tartley/colorama), and [pyperclip](https://github.com/asweigart/pyperclip).
Windows has an additional dependency on [pyreadline](https://pypi.python.org/pypi/pyreadline). Non-Windows platforms
have an additional dependency on [wcwidth](https://pypi.python.org/pypi/wcwidth). Finally, Python
diff --git a/tests/test_completion.py b/tests/test_completion.py
index d50ad039..00a120cc 100644
--- a/tests/test_completion.py
+++ b/tests/test_completion.py
@@ -252,7 +252,7 @@ def test_path_completion_multiple(cmd2_app, request):
endidx = len(line)
begidx = endidx - len(text)
- matches = sorted(cmd2_app.path_complete(text, line, begidx, endidx))
+ matches = cmd2_app.path_complete(text, line, begidx, endidx)
expected = [text + 'cript.py', text + 'cript.txt', text + 'cripts' + os.path.sep]
assert matches == expected