Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bjankiewicz committed Jul 26, 2022
1 parent 1d1039d commit e90505e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/providers/google/cloud/operators/test_dataproc.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
AIRFLOW_VERSION = "v" + airflow_version.replace(".", "-").replace("+", "-")

DATAPROC_PATH = "airflow.providers.google.cloud.operators.dataproc.{}"
COMPOSER_TRIGGERS_STRING = "airflow.providers.google.cloud.triggers.dataproc.{}"
DATAPROC_TRIGGERS_STRING = "airflow.providers.google.cloud.triggers.dataproc.{}"

TASK_ID = "task-id"
GCP_PROJECT = "test-project"
Expand Down Expand Up @@ -907,7 +907,7 @@ def test_execute_async(self, mock_hook):
)

@mock.patch(DATAPROC_PATH.format("DataprocHook"))
@mock.patch(COMPOSER_TRIGGERS_STRING.format("DataprocHook"))
@mock.patch(DATAPROC_TRIGGERS_STRING.format("DataprocHook"))
def test_execute_deferrable(self, mock_trigger_hook, mock_hook):
job = {}
mock_hook.return_value.submit_job.return_value.reference.job_id = TEST_JOB_ID
Expand Down

0 comments on commit e90505e

Please sign in to comment.