From 060f75f2b80ede71d2911a0cb3956c45b12222e0 Mon Sep 17 00:00:00 2001 From: Kaxil Naik Date: Thu, 14 Nov 2024 19:34:32 +0000 Subject: [PATCH] Fix Google Cloud Datacatalog test (#44037) This field (`dataplex_transfer_status`) got added in https://github.com/googleapis/google-cloud-python/pull/13277 as part of `google-cloud-datacatalog==3.22.0` --- providers/tests/google/cloud/operators/test_datacatalog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/tests/google/cloud/operators/test_datacatalog.py b/providers/tests/google/cloud/operators/test_datacatalog.py index 424783193333..577852baf6b6 100644 --- a/providers/tests/google/cloud/operators/test_datacatalog.py +++ b/providers/tests/google/cloud/operators/test_datacatalog.py @@ -370,7 +370,7 @@ def test_assert_valid_hook_call(self, mock_xcom, mock_hook) -> None: "project_id": TEST_PROJECT_ID, }, ) - assert TEST_TAG_TEMPLATE_DICT == result + assert {**result, **TEST_TAG_TEMPLATE_DICT} == result class TestCloudDataCatalogCreateTagTemplateFieldOperator: @@ -418,7 +418,7 @@ def test_assert_valid_hook_call(self, mock_xcom, mock_hook) -> None: "project_id": TEST_PROJECT_ID, }, ) - assert TEST_TAG_TEMPLATE_FIELD_DICT == result + assert {**result, **TEST_TAG_TEMPLATE_FIELD_DICT} == result class TestCloudDataCatalogDeleteEntryOperator: