void () { runPythonTest(new PyUnitTestLikeProcessWithConsoleTestTask<>("/testRunner/env/unit", TEST_TARGET_PREFIX + "test_file.GoodTest", this::createTestRunner) { @Override protected void checkTestResults(@NotNull final T runner, @NotNull final String stdout, @NotNull final String stderr, @NotNull final String all, int exitCode) { assertEquals(1, runner.getAllTestsCount()); assertEquals(1, runner.getPassedTestsCount()); } }); }