This commit is contained in:
David Halter
2012-10-21 14:33:14 +02:00
parent 51cfb43716
commit 99739754ef
4 changed files with 11 additions and 4 deletions

View File

@@ -192,6 +192,13 @@ class TestRegression(unittest.TestCase):
assert len(api.Script(s, 1, 15, '/').get_definition()) == 1
assert len(api.Script(s, 1, 10, '/').get_definition()) == 1
class TestSpeed(unittest.TestCase):
def test_os_path_join(self):
""" named import - jedi-vim issue #8 """
s = "join"
assert len(api.Script(s, 1, 15, '/').get_definition()) == 1
assert len(api.Script(s, 1, 10, '/').get_definition()) == 1
if __name__ == '__main__':
unittest.main()