1
0
forked from VimPlug/jedi

add rename tests#

This commit is contained in:
David Halter
2013-01-07 14:29:48 +01:00
parent f192259383
commit f3c2c2aab4

17
test/refactor/rename.py Normal file
View File

@@ -0,0 +1,17 @@
"""
Test coverage for renaming is mostly being done by testing
`Script.get_related_names`.
"""
# --- simple
def test1():
#? 7 blabla
test1()
AssertionError
return test1, test1.not_existing
# +++
def blabla():
blabla()
AssertionError
return blabla, blabla.not_existing