Skip to content

Commit

Permalink
missed the fact that a naming change was made to the DbtProject class
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarasnavickas committed Oct 26, 2023
1 parent 3bfc8f9 commit 3a8bf12
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions tests/dbt/test_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,8 +505,15 @@ def test_update_node_dependency_test_not_exist():


def test_tag_selected_node_test_exist():
dbt_project = DbtProject(name="jaffle_shop", root_dir=DBT_PROJECTS_ROOT_DIR, manifest_path=SAMPLE_MANIFEST)
dbt_graph = DbtGraph(project=dbt_project, select=["tag:test_tag"])
project_config = ProjectConfig(
dbt_project_path=DBT_PROJECTS_ROOT_DIR / DBT_PROJECT_NAME, manifest_path=SAMPLE_MANIFEST
)
profile_config = ProfileConfig(
profile_name="test",
target_name="test",
profiles_yml_filepath=DBT_PROJECTS_ROOT_DIR / DBT_PROJECT_NAME / "profiles.yml",
)
dbt_graph = DbtGraph(project=project_config, profile_config=profile_config, select=["tag:test_tag"])
dbt_graph.load_from_dbt_manifest()

for _, node in dbt_graph.filtered_nodes.items():
Expand Down

0 comments on commit 3a8bf12

Please sign in to comment.