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/07/14 04:39:39 UTC

[airflow] branch main updated: Remove old snowflake system tests (#25026)

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 cebff3149d Remove old snowflake system tests (#25026)
cebff3149d is described below

commit cebff3149dae2e1682d181cc8d1db8d32e44634a
Author: Jarek Potiuk <ja...@polidea.com>
AuthorDate: Thu Jul 14 06:39:28 2022 +0200

    Remove old snowflake system tests (#25026)
---
 .../snowflake/operators/test_snowflake_system.py   | 38 ----------------------
 1 file changed, 38 deletions(-)

diff --git a/tests/providers/snowflake/operators/test_snowflake_system.py b/tests/providers/snowflake/operators/test_snowflake_system.py
deleted file mode 100644
index 5507125cfa..0000000000
--- a/tests/providers/snowflake/operators/test_snowflake_system.py
+++ /dev/null
@@ -1,38 +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 os
-
-import pytest
-
-from tests.test_utils import AIRFLOW_MAIN_FOLDER
-from tests.test_utils.system_tests_class import SystemTest
-
-CREDENTIALS_DIR = os.environ.get('CREDENTIALS_DIR', '/files/airflow-breeze-config/keys')
-SNOWFLAKE_KEY = 'snowflake.json'
-SNOWFLAKE_CREDENTIALS_PATH = os.path.join(CREDENTIALS_DIR, SNOWFLAKE_KEY)
-SNOWFLAKE_DAG_FOLDER = os.path.join(AIRFLOW_MAIN_FOLDER, 'airflow', 'providers', 'snowflake', 'example_dags')
-
-
-@pytest.mark.credential_file(SNOWFLAKE_KEY)
-@pytest.mark.system('snowflake')
-class SnowflakeExampleDagsSystemTest(SystemTest):
-    def setUp(self):
-        super().setUp()
-
-    def test_dag_example(self):
-        self.run_dag('example_snowflake', SNOWFLAKE_DAG_FOLDER)