You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/06/11 19:11:03 UTC

[airflow] branch main updated: Migrate Google calendar system test to new design AIP-47 (#24334)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new f8e106a531 Migrate Google calendar system test to new design AIP-47 (#24334)
f8e106a531 is described below

commit f8e106a531d2dc502bdfe47c3f460462ab0a156d
Author: Chenglong Yan <al...@gmail.com>
AuthorDate: Sun Jun 12 03:10:37 2022 +0800

    Migrate Google calendar system test to new design AIP-47 (#24334)
    
    related: #22430
---
 .../cloud/transfers/test_calendar_to_gcs_system.py | 42 ----------------------
 1 file changed, 42 deletions(-)

diff --git a/tests/providers/google/cloud/transfers/test_calendar_to_gcs_system.py b/tests/providers/google/cloud/transfers/test_calendar_to_gcs_system.py
deleted file mode 100644
index c0b485bc32..0000000000
--- a/tests/providers/google/cloud/transfers/test_calendar_to_gcs_system.py
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Licensed to the Apache Software Foundation (ASF) under one
-# or more contributor license agreements.  See the NOTICE file
-# distributed with this work for additional information
-# regarding copyright ownership.  The ASF licenses this file
-# to you under the Apache License, Version 2.0 (the
-# "License"); you may not use this file except in compliance
-# with the License.  You may obtain a copy of the License at
-#
-#   http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-# KIND, either express or implied.  See the License for the
-# specific language governing permissions and limitations
-# under the License.
-import pytest
-
-from tests.providers.google.cloud.utils.gcp_authenticator import GCP_GCS_KEY
-from tests.test_utils.gcp_system_helpers import CLOUD_DAG_FOLDER, GoogleSystemTest, provide_gcp_context
-
-# Required scopes
-SCOPES = [
-    'https://www.googleapis.com/auth/calendar',
-    'https://www.googleapis.com/auth/cloud-platform',
-]
-
-
-@pytest.mark.backend("mysql", "postgres")
-@pytest.mark.system("google.cloud")
-@pytest.mark.credential_file(GCP_GCS_KEY)
-class GoogleCalendarToGCSExampleDagsSystemTest(GoogleSystemTest):
-    def setUp(self):
-        super().setUp()
-
-    @provide_gcp_context(GCP_GCS_KEY, scopes=SCOPES)
-    def test_run_example_dag_function(self):
-        self.run_dag('example_calendar_to_gcs', CLOUD_DAG_FOLDER)
-
-    def tearDown(self):
-        super().tearDown()