Fix os.path.join static value gathering

This commit is contained in:
Dave Halter
2019-08-06 22:48:28 +02:00
parent 81488bcd20
commit 7c1c4981fb
3 changed files with 40 additions and 10 deletions

View File

@@ -209,6 +209,7 @@ os_path = 'from os.path import *\n'
(f1, os_path + 'dirname(__file__) + "%stest' % s, None, [s]),
(f2, os_path + 'dirname(__file__) + "%stest_ca' % s, None, ['che.py']),
(f2, os_path + 'dirname(abspath(__file__)) + sep + "test_ca', None, ['che.py']),
(f2, os_path + 'join(dirname(__file__), "completion") + sep + "basi', None, ['c.py']),
]
)
def test_file_path_completions(Script, file, code, column, expected):