potiuk commented on a change in pull request #6596: [AIRFLOW-6004] Untangle 
Executors class to avoid cyclic imports
URL: https://github.com/apache/airflow/pull/6596#discussion_r353161202
 
 

 ##########
 File path: tests/gcp/hooks/test_google_discovery_api.py
 ##########
 @@ -20,15 +20,16 @@
 import unittest
 from unittest.mock import call, patch
 
-from airflow import configuration, models
+from airflow import models
+from airflow.configuration import load_test_config
 from airflow.gcp.hooks.discovery_api import GoogleDiscoveryApiHook
 from airflow.utils import db
 
 
 class TestGoogleDiscoveryApiHook(unittest.TestCase):
 
     def setUp(self):
-        configuration.load_test_config()
+        load_test_config()
 
 Review comment:
   I think that was a comment to earlier commit. It's been fixed in the fixup.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to