You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/03/18 08:42:04 UTC

[GitHub] [airflow] nuclearpinguin commented on issue #7748: [AIRFLOW-6752] Add GoogleAnalyticsRetrieveAdsLinksListOperator

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:
users@infra.apache.org


With regards,
Apache Git Services