void () { runPythonTest( new PyUnitTestLikeProcessWithConsoleTestTask<>("/testRunner/env/unit", "dependentTests/test_my_class.py", 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()); } }); }