You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Kamil Bregula (Jira)" <ji...@apache.org> on 2020/01/30 23:12:00 UTC

[jira] [Created] (AIRFLOW-6688) Missing tests for the providers package

Kamil Bregula created AIRFLOW-6688:
--------------------------------------

             Summary: Missing tests for the providers package
                 Key: AIRFLOW-6688
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6688
             Project: Apache Airflow
          Issue Type: Improvement
          Components: hooks, operators
    Affects Versions: 1.10.7
            Reporter: Kamil Bregula


We strive to ensure that the project has the largest possible coverage.  Unfortunately, some non-airflow files do not have a matching file in the tests directory.  It is possible that some tests exist but are in the wrong file. 

Magic command:  
{code:bash}
comm -13 <(find tests/providers -type f | grep -v "__init__.py" | grep -v "example_dags" | cut -d / -f 3- | sort | sed 's/test_//g' | grep -v system ) <(find airflow/providers -type f | grep -v "__init__.py" | grep -v "example_dags" | cut -d / -f 3- | sort)
{code}
 

 Magic result 
{code:java}
amazon/aws/hooks/athena.py
amazon/aws/hooks/batch_waiters.json
amazon/aws/hooks/s3.py
apache/hdfs/sensors/web_hdfs.py
apache/hive/operators/vertica_to_hive.py
apache/hive/sensors/hive_partition.py
apache/hive/sensors/metastore_partition.py
apache/pig/operators/pig.py
apache/spark/hooks/spark_jdbc_script.py
cncf/kubernetes/operators/kubernetes_pod.py
google/cloud/operators/datastore.py
google/cloud/operators/gcs_to_bigquery.py
google/cloud/operators/sql_to_gcs.py
google/cloud/sensors/bigquery.py
google/cloud/utils/credentials_provider.py
google/cloud/utils/field_sanitizer.py
google/cloud/utils/field_validator.py
google/cloud/utils/mlengine_operator_utils.py
google/cloud/utils/mlengine_prediction_summary.py
jenkins/hooks/jenkins.py
microsoft/azure/sensors/azure_cosmos.py
microsoft/mssql/hooks/mssql.py
microsoft/mssql/operators/mssql.py
oracle/operators/oracle.py
presto/operators/presto_check.py
qubole/hooks/qubole.py
samba/hooks/samba.py
sqlite/operators/sqlite.py
vertica/hooks/vertica.py
{code}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)