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/02/17 11:22:20 UTC

[GitHub] [airflow] ashb commented on a change in pull request #7439: [AIRFLOW-6204][depends on 6763] Create GoogleSystemTest class

ashb commented on a change in pull request #7439: [AIRFLOW-6204][depends on 6763] Create GoogleSystemTest class
URL: https://github.com/apache/airflow/pull/7439#discussion_r380125997
 
 

 ##########
 File path: tests/providers/google/cloud/operators/test_gcs_to_gcs_operator_system.py
 ##########
 @@ -16,33 +16,70 @@
 # specific language governing permissions and limitations
 # under the License.
 """System tests for Google Cloud Build operators"""
+import pytest
 
-
-from tests.providers.google.cloud.operators.test_gcs_to_gcs_system_helper import GcsToGcsTestHelper
+from airflow.providers.google.cloud.example_dags.example_gcs_to_gcs import (
+    BUCKET_1_DST, BUCKET_1_SRC, BUCKET_2_DST, BUCKET_2_SRC, BUCKET_3_DST, BUCKET_3_SRC,
+)
 from tests.providers.google.cloud.utils.gcp_authenticator import GCP_GCS_KEY
-from tests.test_utils.gcp_system_helpers import CLOUD_DAG_FOLDER, provide_gcp_context, skip_gcp_system
-from tests.test_utils.system_tests_class import SystemTest
+from tests.test_utils.gcp_system_helpers import CLOUD_DAG_FOLDER, GoogleSystemTest, provide_gcp_context
+
+
+@pytest.mark.backend("mysql", "postgres")
+@pytest.mark.system("google.cloud")
+@pytest.mark.credential_file(GCP_GCS_KEY)
+class GcsToGcsExampleDagsSystemTest(GoogleSystemTest):
 
 Review comment:
   Can the GoogleSystemTest automatically apply the system mark? Does that work?

----------------------------------------------------------------
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