diff --git a/core/dbt/task/runnable.py b/core/dbt/task/runnable.py index c7b96ba2402..bbab544d0c9 100644 --- a/core/dbt/task/runnable.py +++ b/core/dbt/task/runnable.py @@ -49,7 +49,9 @@ parse_difference, ) from dbt.parser.manifest import write_manifest +from dbt.task import group_lookup from dbt.task.base import BaseRunner, ConfiguredTask +from dbt.task.printer import print_run_end_messages, print_run_result_error from dbt_common.context import _INVOCATION_CONTEXT_VAR, get_invocation_context from dbt_common.dataclass_schema import StrEnum from dbt_common.events.contextvars import log_contextvars, task_contextvars @@ -57,9 +59,6 @@ from dbt_common.events.types import Formatting from dbt_common.exceptions import NotImplementedError -from . import group_lookup -from .printer import print_run_end_messages, print_run_result_error - RESULT_FILE_NAME = "run_results.json" diff --git a/core/dbt/task/test.py b/core/dbt/task/test.py index 6580b85879b..b319ae323fc 100644 --- a/core/dbt/task/test.py +++ b/core/dbt/task/test.py @@ -37,7 +37,10 @@ from dbt.graph import ResourceTypeSelector from dbt.node_types import TEST_NODE_TYPES, NodeType from dbt.parser.unit_tests import UnitTestManifestLoader +from dbt.task import group_lookup from dbt.task.base import BaseRunner, resource_types_from_args +from dbt.task.compile import CompileRunner +from dbt.task.run import RunTask from dbt.utils import _coerce_decimal, strtobool from dbt_common.dataclass_schema import dbtClassMixin from dbt_common.events.format import pluralize @@ -45,10 +48,6 @@ from dbt_common.exceptions import DbtBaseException, DbtRuntimeError from dbt_common.ui import green, red -from . import group_lookup -from .compile import CompileRunner -from .run import RunTask - if TYPE_CHECKING: import agate