summaryrefslogtreecommitdiff
path: root/tests/test_completion.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2017-06-28 19:05:25 -0400
committerGitHub <noreply@github.com>2017-06-28 19:05:25 -0400
commit63c17bbefdea43a7839b333eb2af44e12bdde53f (patch)
treeea8632f40502947d34c3d14d20c6d64a470ea712 /tests/test_completion.py
parent28b5a6b8667f2e105c6c38ef9cf341a0087006fb (diff)
parentf5224cf0af76c639007763c351d1b9fa02ee1208 (diff)
downloadcmd2-git-63c17bbefdea43a7839b333eb2af44e12bdde53f.tar.gz
Merge pull request #143 from python-cmd2/no_url_load
Refactored to remove a few things that felt out of place
Diffstat (limited to 'tests/test_completion.py')
-rw-r--r--tests/test_completion.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_completion.py b/tests/test_completion.py
index 74cc3d57..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']
+ 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__)