improved import statement keyword autocompletion, #111

This commit is contained in:
David Halter
2013-01-14 22:23:12 +01:00
parent ac2b0016d5
commit 35e55fab25
2 changed files with 13 additions and 6 deletions

View File

@@ -120,7 +120,7 @@ class TestRegression(TestBase):
assert len(self.complete("import import", path='')) > 0
# 111
assert self.complete("from datetime import") == []
assert self.complete("from datetime import")[0].word == 'import'
assert self.complete("from datetime import ")
def test_get_in_function_call(self):