mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-21366 Consider import aliases when restoring imports for moved element
This commit is contained in:
@@ -356,6 +356,11 @@ public class PyMoveTest extends PyTestCase {
|
||||
doMoveSymbolTest("use_foo", "c.py");
|
||||
}
|
||||
|
||||
// PY-21366
|
||||
public void testFromImportAliases() {
|
||||
doMoveSymbolTest("func", "b.py");
|
||||
}
|
||||
|
||||
private void doMoveFileTest(String fileName, String toDirName) {
|
||||
Project project = myFixture.getProject();
|
||||
PsiManager manager = PsiManager.getInstance(project);
|
||||
|
||||
Reference in New Issue
Block a user