PyTestTestProcessRunner () { return new PyTestTestProcessRunner("test_test.py", 0) { @Override protected void configurationCreatedAndWillLaunch(@NotNull final PyTestConfiguration configuration) throws IOException { super.configurationCreatedAndWillLaunch(configuration); configuration.setKeywords("not spam"); } }; }