void () { runPythonTest(new PyUnitTestProcessWithConsoleTestTask("/testRunner/env/unit/relativeImports", PyUnitTestProcessRunner.TEST_PATTERN_PREFIX + "test_imps.py") { @Override protected void checkTestResults(@NotNull final PyUnitTestProcessRunner runner, @NotNull final String stdout, @NotNull final String stderr, @NotNull final String all, int exitCode) { assertEquals(runner.getFormattedTestTree(), 1, runner.getAllTestsCount()); assertEquals(runner.getFormattedTestTree(), 1, runner.getPassedTestsCount()); } }); }