void () { runPythonTest(new CreateConfigurationByFileTask<>(getFrameworkId(), PyTestConfiguration.class, "spam.py") { @NotNull @Override protected PsiElement getElementToRightClickOnByFile(@NotNull final String fileName) { return myFixture.configureByFile(fileName); } }); }