diff --git a/airflow-core/tests/unit/always/test_project_structure.py b/airflow-core/tests/unit/always/test_project_structure.py index 923790bd76a55..00093e973b4f2 100644 --- a/airflow-core/tests/unit/always/test_project_structure.py +++ b/airflow-core/tests/unit/always/test_project_structure.py @@ -81,7 +81,6 @@ def test_providers_modules_should_have_tests(self): "providers/apache/hive/tests/unit/apache/hive/plugins/test_hive.py", "providers/celery/tests/unit/celery/executors/test_celery_executor_utils.py", "providers/celery/tests/unit/celery/executors/test_default_celery.py", - "providers/cloudant/tests/unit/cloudant/test_cloudant_fake.py", "providers/cncf/kubernetes/tests/unit/cncf/kubernetes/executors/test_kubernetes_executor_types.py", "providers/cncf/kubernetes/tests/unit/cncf/kubernetes/executors/test_kubernetes_executor_utils.py", "providers/cncf/kubernetes/tests/unit/cncf/kubernetes/operators/test_kubernetes_pod.py", diff --git a/providers/cloudant/src/airflow/providers/cloudant/cloudant_fake.py b/providers/cloudant/src/airflow/providers/cloudant/cloudant_fake.py deleted file mode 100644 index 91b97c72a91c8..0000000000000 --- a/providers/cloudant/src/airflow/providers/cloudant/cloudant_fake.py +++ /dev/null @@ -1,34 +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. -from __future__ import annotations - - -class CloudantV1: - """Phony class to pass mypy when real class is not imported.""" - - def __init__(self, authenticator): - pass - - def set_service_url(self, service_url: str): - pass - - -class CouchDbSessionAuthenticator: - """Phony class to pass mypy when real class is not imported.""" - - def __init__(self, username: str, password: str): - pass