first import tests for repl completion, #280

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

No files matched your search

+2 -1
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):
"""