From 3f171db6deea68c2470bf6e41c6dfdbfcd288121 Mon Sep 17 00:00:00 2001 From: Tatiana Al-Chueyr Date: Tue, 18 Jul 2023 01:02:00 +0100 Subject: [PATCH] Mark as integrationt test that relies on dbt --- tests/dbt/test_graph.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/dbt/test_graph.py b/tests/dbt/test_graph.py index d06accbfe..f5f1c6244 100644 --- a/tests/dbt/test_graph.py +++ b/tests/dbt/test_graph.py @@ -149,6 +149,7 @@ def test_load_via_dbt_ls_with_invalid_dbt_path(): assert err_info.value.args[0].startswith(expected) +@pytest.mark.integration @patch("cosmos.dbt.graph.Popen.communicate", return_value=("Some Runtime Error", "")) def test_load_via_dbt_ls_with_runtime_error_in_stdout(mock_popen_communicate): # It may seem strange, but at least until dbt 1.6.0, there are circumstances when it outputs errors to stdout