[
https://issues.apache.org/jira/browse/AIRFLOW-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Riccomini closed AIRFLOW-239.
-----------------------------------
Resolution: Fixed
Fix Version/s: Airflow 1.8
> 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
> Fix For: Airflow 1.8
>
>
> 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)