void () { runPythonTest(new PyUnitTestProcessWithConsoleTestTask("testRunner/env/unit/", "test_skipped_subtest.py", 1) { @Override protected void checkTestResults(@NotNull PyUnitTestProcessRunner runner, @NotNull String stdout, @NotNull String stderr, @NotNull String all, int exitCode) { assertEquals(runner.getFormattedTestTree(), 8, runner.getPassedTestsCount()); assertEquals(runner.getFormattedTestTree(), 2, runner.getIgnoredTestsCount()); } }); }