Skip to content

Commit

Permalink
Fixed: graph tests using incorrect properties
Browse files Browse the repository at this point in the history
  • Loading branch information
tabmra committed Oct 24, 2023
1 parent 9e11bea commit d1d0d4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/dbt/test_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def test_load_via_dbt_ls_does_not_create_target_logs_in_original_folder(mock_pop
assert not (tmp_dbt_project_dir / "logs").exists()

used_cwd = Path(mock_popen.call_args[0][0][-5])
assert used_cwd != project_config.dir
assert used_cwd != project_config.dbt_project_path
assert not used_cwd.exists()


Expand Down Expand Up @@ -482,7 +482,7 @@ def test_update_node_dependency_test_not_exist():
@pytest.mark.parametrize("load_method", ["load_via_dbt_ls", "load_from_dbt_manifest"])
def test_load_dbt_ls_and_manifest_with_model_version(load_method):
dbt_graph = DbtGraph(
project_config=ProjectConfig(
project=ProjectConfig(
dbt_project_path=DBT_PROJECTS_ROOT_DIR / "model_version",
manifest_path=SAMPLE_MANIFEST_MODEL_VERSION if load_method == "load_from_dbt_manifest" else None,
),
Expand Down

0 comments on commit d1d0d4f

Please sign in to comment.