void (PsiElement elt, String dirname) { assertTrue(elt instanceof PyFile); PyFile f = (PyFile)elt; assertEquals("__init__.py", f.getName()); assertEquals(dirname, f.getContainingDirectory().getName()); }