mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
PY-76629: Get rid of Django skeleton tests
GitOrigin-RevId: e96b82a3bcba484a5321c54cd15ff755dd7e276d
This commit is contained in:
committed by
intellij-monorepo-bot
parent
6439b63a2d
commit
ab53444089
@@ -397,28 +397,6 @@ public class PyAddImportQuickFixTest extends PyQuickFixTestCase {
|
||||
doMultiFileAutoImportTest("Import 'matplotlib.pyplot as plt' locally");
|
||||
}
|
||||
|
||||
// PY-46361
|
||||
public void testPackagesFromPythonSkeletonsNotSuggested() {
|
||||
doMultiFileNegativeTest("Import");
|
||||
|
||||
GlobalSearchScope scope = GlobalSearchScope.allScope(myFixture.getProject());
|
||||
List<PyFile> djangoPackages = PyModuleNameIndex.findByQualifiedName(QualifiedName.fromComponents("django"),
|
||||
myFixture.getProject(), scope);
|
||||
PyFile djangoPackage = assertOneElement(djangoPackages);
|
||||
assertTrue(PyUserSkeletonsUtil.isUnderUserSkeletonsDirectory(djangoPackage));
|
||||
}
|
||||
|
||||
// PY-46361
|
||||
public void testClassesFromPythonSkeletonsNotSuggested() {
|
||||
doMultiFileNegativeTest("Import");
|
||||
|
||||
Project project = myFixture.getProject();
|
||||
PyClass djangoViewClass = assertOneElement(PyClassNameIndex.findByQualifiedName("django.views.generic.base.View",
|
||||
project,
|
||||
GlobalSearchScope.allScope(project)));
|
||||
assertTrue(PyUserSkeletonsUtil.isUnderUserSkeletonsDirectory(djangoViewClass.getContainingFile()));
|
||||
}
|
||||
|
||||
// PY-46344
|
||||
public void testImportAbstractContainersFromCollectionsABC() {
|
||||
Consumer<VirtualFile> fileConsumer = file -> {
|
||||
|
||||
Reference in New Issue
Block a user