void () { final PyUnitTestConfiguration configuration = getConfiguration(); configuration.setPattern("foo"); configuration.getTarget().setTargetType(PyRunTargetVariant.PATH); configuration.getTarget().setTarget("foo.py"); configuration.checkConfiguration(); }