Skip to content

Commit

Permalink
Fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
tatiana committed Jul 21, 2023
1 parent 99c3fba commit b1aa5b2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/airflow/test_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
create_test_task_metadata,
calculate_operator_class,
)
from cosmos.constants import ExecutionMode, DbtResourceType
from cosmos.constants import ExecutionMode, DbtResourceType, TestBehavior
from cosmos.dbt.graph import DbtNode


Expand Down Expand Up @@ -75,7 +75,7 @@ def test_build_airflow_graph_with_after_each():
dag=dag,
execution_mode=ExecutionMode.LOCAL,
task_args=task_args,
test_behavior="after_each",
test_behavior=TestBehavior.AFTER_EACH,
dbt_project_name="astro_shop",
conn_id="fake_conn",
)
Expand Down Expand Up @@ -117,7 +117,7 @@ def test_build_airflow_graph_with_after_all():
dag=dag,
execution_mode=ExecutionMode.LOCAL,
task_args=task_args,
test_behavior="after_all",
test_behavior=TestBehavior.AFTER_ALL,
dbt_project_name="astro_shop",
conn_id="fake_conn",
)
Expand Down

0 comments on commit b1aa5b2

Please sign in to comment.