From 2776a018d561d77087ceb93440f9765c31b572a7 Mon Sep 17 00:00:00 2001 From: Jeremy Cohen Date: Fri, 16 Jun 2023 12:38:16 -0400 Subject: [PATCH] Account for change in dbt-labs/dbt-core#7857 --- tests/unit/utils.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/unit/utils.py b/tests/unit/utils.py index 7cd2bb9ab..c1d53880c 100644 --- a/tests/unit/utils.py +++ b/tests/unit/utils.py @@ -60,7 +60,9 @@ def profile_from_dict(profile, profile_name, cli_vars="{}"): ) -def project_from_dict(project, profile, packages=None, selectors=None, cli_vars="{}"): +def project_from_dict( + project, profile, packages=None, dependent_projects=None, selectors=None, cli_vars="{}" +): from dbt.config.renderer import DbtProjectYamlRenderer from dbt.config.utils import parse_cli_vars @@ -75,6 +77,7 @@ def project_from_dict(project, profile, packages=None, selectors=None, cli_vars= project_root=project_root, project_dict=project, packages_dict=packages, + dependent_projects_dict=dependent_projects, selectors_dict=selectors, ) return partial.render(renderer)