olayiwola-gbenga commented on code in PR #74664:
URL: https://github.com/apache/airflow/pull/74664#discussion_r4527264493


##########
providers/google/tests/unit/google/firebase/hooks/test_firestore.py:
##########
@@ -256,3 +484,22 @@ def test_create_build(self, mock_get_conn, 
mock_project_id):
             == "The project id must be passed either as keyword project_id 
parameter or as project_id extra in "
             "Google Cloud connection definition. Both are not set!"
         )
+
+
+class TestCloudFirestoreAsyncHook:
+    @pytest.mark.asyncio
+    
@mock.patch("airflow.providers.google.firebase.hooks.firestore.CloudFirestoreAsyncHook.get_sync_hook")
+    async def test_get_operation(self, mock_get_sync_hook):
+        sync_hook_mock = mock.MagicMock()

Review Comment:
   I updated sync_hook_mock in test_get_operation to use 
spec=CloudFirestoreHook.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to