diff options
| author | Todd Leonhardt <tleonhardt@gmail.com> | 2017-06-28 18:10:16 -0400 |
|---|---|---|
| committer | Todd Leonhardt <tleonhardt@gmail.com> | 2017-06-28 18:10:16 -0400 |
| commit | d80d47b9a78624b515b732ee3c3f848150cfaa86 (patch) | |
| tree | b9f18e59b182f09b9a1dca397d97b72c11b12258 /tests/test_completion.py | |
| parent | 9efa8ee8d0e14d494eb954cd356d17832573deee (diff) | |
| download | cmd2-git-d80d47b9a78624b515b732ee3c3f848150cfaa86.tar.gz | |
Multiple changes
- Disabled TravisCI macOS builds because they are heavily backlogged
- Removed a file which should never have been committed
- Updated Sphinx docs to relect that the default_file_name settable parameter no longer exists
- Fixed comment in a unit test
- Fixed a unit test to use os.path.sep for cross-platform compatibility
Diffstat (limited to 'tests/test_completion.py')
| -rw-r--r-- | tests/test_completion.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_completion.py b/tests/test_completion.py index 220d6e26..a12a4ec2 100644 --- a/tests/test_completion.py +++ b/tests/test_completion.py @@ -150,7 +150,7 @@ def test_path_completion_multiple(cmd2_app, request): endidx = len(line) begidx = endidx - len(text) - assert cmd2_app.path_complete(text, line, begidx, endidx) == ['script.py', 'script.txt', 'scripts/'] + assert cmd2_app.path_complete(text, line, begidx, endidx) == ['script.py', 'script.txt', 'scripts' + os.path.sep] def test_path_completion_nomatch(cmd2_app, request): test_dir = os.path.dirname(request.module.__file__) |
