void () { myFixture.configureByText(PythonFileType.INSTANCE, "im<caret>"); myFixture.completeBasic(); List<String> suggested = myFixture.getLookupElementStrings(); int indImport = suggested.indexOf("import"); int ind__import__ = suggested.indexOf("__import__"); assertTrue(indImport != -1); assertTrue(ind__import__ != -1); assertTrue(indImport < ind__import__); }