mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Refresh FS before searching for files on the local FS in Python tests
PyMoveTest#testStarImportWithUsages was failing because its expected data located in the testData folder changed, but the old version remained in FS caches.
This commit is contained in:
@@ -86,7 +86,7 @@ public abstract class PyTestCase extends UsefulTestCase {
|
||||
|
||||
@Nullable
|
||||
protected static VirtualFile getVirtualFileByName(String fileName) {
|
||||
return LocalFileSystem.getInstance().findFileByPath(fileName.replace(File.separatorChar, '/'));
|
||||
return LocalFileSystem.getInstance().refreshAndFindFileByPath(fileName.replace(File.separatorChar, '/'));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user