void () { final Collection<String> modules = PyModuleNameIndex.getAllKeys(myFixture.getProject()); assertContainsElements(modules, "ModuleNameIndex_foo"); assertContainsElements(modules, "ModuleNameIndex_bar"); assertDoesntContain(modules, "__init__"); assertDoesntContain(modules, "ModuleNameIndex_baz"); }