forgot to write a test for #293

This commit is contained in:
David Halter
2013-08-16 10:05:25 +04:30
parent 4b0465a2d1
commit 873c609fca

View File

@@ -29,6 +29,8 @@ class TestSetupReadline(TestCase):
def test_simple(self):
assert self.completions('list') == ['list']
assert self.completions('importerror') == ['ImportError']
s = "print BaseE"
assert self.completions(s) == [s + 'xception']
def test_nested(self):
assert self.completions('list.Insert') == ['list.insert']