Skip to content

Commit

Permalink
test: improve test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee-W committed Jan 25, 2024
1 parent f0c5f1f commit b3850c8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/google/cloud/operators/test_dataproc.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ def test_init(self):
class TestDataprocDeleteClusterOperatorAsync:
def test_init(self):
task = DataprocDeleteClusterOperatorAsync(
task_id="task-id", project_id=TEST_PROJECT_ID, cluster_name=TEST_CLUSTER_NAME, region=TEST_REGION
task_id="task-id",
project_id=TEST_PROJECT_ID,
cluster_name=TEST_CLUSTER_NAME,
region=TEST_REGION,
timeout=None,
)
assert isinstance(task, DataprocDeleteClusterOperator)
assert task.deferrable is True
Expand Down

0 comments on commit b3850c8

Please sign in to comment.