nuclearpinguin commented on issue #7748: [AIRFLOW-6752] Add 
GoogleAnalyticsRetrieveAdsLinksListOperator
URL: https://github.com/apache/airflow/pull/7748#issuecomment-600494242
 
 
   Would you mind adding a system tests:
   ```python
   import pytest
   
   from tests.providers.google.cloud.utils.gcp_authenticator import GMP_KEY
   from tests.test_utils.gcp_system_helpers import MARKETING_DAG_FOLDER, 
GoogleSystemTest, provide_gcp_context
   
   # Required scopes
   SCOPES = [
       'https://www.googleapis.com/auth/analytics',
       'https://www.googleapis.com/auth/analytics.edit',
       'https://www.googleapis.com/auth/cloud-platform',
   ]
   
   @pytest.mark.system("google.marketing_platform")
   @pytest.mark.credential_file(GMP_KEY)
   class TestSystemGoogleAds(GoogleSystemTest):
       @provide_gcp_context(GMP_KEY, scopes=SCOPES)
       def test_run_example_dag(self):
           self.run_dag('example_google_analytics', MARKETING_DAG_FOLDER)
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to