uranusjr commented on code in PR #24622:
URL: https://github.com/apache/airflow/pull/24622#discussion_r905764022
##########
tests/providers/google/cloud/transfers/test_gdrive_to_local.py:
##########
@@ -18,28 +18,36 @@
from tempfile import NamedTemporaryFile
from unittest import TestCase, mock
-from airflow.providers.google.cloud.transfers.gdrive_to_local import
GoogleDriveToLocalOperator
+from airflow.providers.google.cloud.transfers.gdrive_to_local import (
+ GoogleDriveToLocalOperator,
+)
TASK_ID = "test-drive-to-local-operator"
FOLDER_ID = "1234567890qwerty"
FILE_NAME = "file.pdf"
+GCP_CONN_ID = "google_cloud_default"
class TestGoogleDriveToLocalOperator(TestCase):
-
@mock.patch("airflow.providers.google.cloud.transfers.gdrive_to_local.GoogleDriveHook")
+ @mock.patch(
+
"airflow.providers.google.cloud.transfers.gdrive_to_local.GoogleDriveHook"
+ )
Review Comment:
```suggestion
@mock.patch("airflow.providers.google.cloud.transfers.gdrive_to_local.GoogleDriveHook")
```
##########
tests/providers/google/cloud/transfers/test_gdrive_to_local.py:
##########
@@ -18,28 +18,36 @@
from tempfile import NamedTemporaryFile
from unittest import TestCase, mock
-from airflow.providers.google.cloud.transfers.gdrive_to_local import
GoogleDriveToLocalOperator
+from airflow.providers.google.cloud.transfers.gdrive_to_local import (
+ GoogleDriveToLocalOperator,
+)
Review Comment:
```suggestion
from airflow.providers.google.cloud.transfers.gdrive_to_local import
GoogleDriveToLocalOperator
```
--
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]