forked from VimPlug/jedi
first import tests for repl completion, #280
This commit is contained in:
@@ -47,7 +47,8 @@ class TestSetupReadline():
|
||||
del self.namespace['os']
|
||||
|
||||
def test_import(self):
|
||||
assert self.completions('import keyword') == ['keyword']
|
||||
s = 'from os.path import a'
|
||||
assert set(self.completions(s)) == set([s + 'ltsep', s + 'bspath'])
|
||||
|
||||
def test_colorama(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user