1
0
forked from VimPlug/jedi

testing for related names (renaming). with first tests

This commit is contained in:
David Halter
2012-09-09 21:19:39 +02:00
parent 143870fc38
commit e97df2f2ac
4 changed files with 63 additions and 8 deletions

View File

@@ -83,6 +83,13 @@ class TestRegression(unittest.TestCase):
s = self.complete("", (1,0))
assert len(s) > 0
def test_new(self):
""" This is just to try out things, removing or deleting it is ok. """
s = ("def abc(): pass\n"
"abc.d.a.abc.d"
)
functions.get_related_names(s, 2, 2, '/')
if __name__ == '__main__':
unittest.main()