void () { myFixture.copyDirectoryToProject(getTestName(false), ""); final VirtualFile file = myFixture.findFileInTempDir("pkg/__init__.py"); final PyFile init = as(PsiManager.getInstance(myFixture.getProject()).findFile(file), PyFile.class); checkByHTML(myProvider.generateDoc(init, init)); }