1
0
forked from VimPlug/jedi

first import tests for repl completion, #280

This commit is contained in:
David Halter
2013-08-15 14:25:28 +04:30
parent 6718020fac
commit 17d7870b3b
2 changed files with 7 additions and 4 deletions

View File

@@ -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):
"""