You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Li Xuanji (JIRA)" <ji...@apache.org> on 2016/06/14 18:57:27 UTC

[jira] [Created] (AIRFLOW-239) test_hdfs_sensor, etc not collected by nosetests

Li Xuanji created AIRFLOW-239:
---------------------------------

             Summary: test_hdfs_sensor, etc not collected by nosetests
                 Key: AIRFLOW-239
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-239
             Project: Apache Airflow
          Issue Type: Bug
            Reporter: Li Xuanji
            Assignee: Li Xuanji


Due to the indentation at https://github.com/apache/incubator-airflow/blob/5963ac8b7b7c0b3470ce6171b1cd928485bc9884/tests/core.py#L1605-L1623

The methods test_hdfs_sensor and below are treated as internal functions of test_presto_to_mysql and not collected by nosetests

```
➜  zodiac-airflow git:(master) export AIRFLOW_RUNALL_TESTS=1
➜  zodiac-airflow git:(master) nosetests -v --collect-only 2>&1 | grep test_presto_to_mysql | wc -l
       1
➜  zodiac-airflow git:(master) nosetests -v --collect-only 2>&1 | grep test_hdfs_sensor | wc -l
       0
➜  zodiac-airflow git:(master)
```



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)