summaryrefslogtreecommitdiff
path: root/tests/test_completion.py
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2018-03-18 14:49:50 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2018-03-18 14:49:50 -0400
commit7dec84f48dac404ff236fcea704a766dffa588a4 (patch)
treec38c8a79510740d3ce51dc40a15185eac3bf41d5 /tests/test_completion.py
parentb472d2b4a74960c67612607246d3ab7141b22f24 (diff)
downloadcmd2-git-7dec84f48dac404ff236fcea704a766dffa588a4.tar.gz
Making unit test do the intended test
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 37630159..af903794 100644
--- a/tests/test_completion.py
+++ b/tests/test_completion.py
@@ -359,7 +359,7 @@ def test_path_completion_cwd():
completions_empty = path_complete(text, line, begidx, endidx)
# Run path complete with path set to the CWD
- cwd = os.getcwd()
+ cwd = os.getcwd() + os.path.sep
line = 'shell ls {}'.format(cwd)
endidx = len(line)
begidx = endidx - len(text)