forked from VimPlug/jedi
add rename tests#
This commit is contained in:
17
test/refactor/rename.py
Normal file
17
test/refactor/rename.py
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user