void () { runWithLanguageLevel(LanguageLevel.PYTHON35, () -> { myFixture.copyDirectoryToProject(getTestName(true), ""); myFixture.runWithSourceRoots(Lists.newArrayList(myFixture.findFileInTempDir("root1"), myFixture.findFileInTempDir("root2")), () -> { myFixture.configureByFile("root1/pkg/test.py"); List<String> lookupStrings = ContainerUtil.map(myFixture.completeBasic(), LookupElement::getLookupString); assertContainsElements(lookupStrings, "foo", "bar", "baz"); }); }); }