[ 
https://issues.apache.org/jira/browse/AIRFLOW-239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15332253#comment-15332253
 ] 

ASF subversion and git services commented on AIRFLOW-239:
---------------------------------------------------------

Commit 01952b37b574cbe08a5f2e3987d3360325c63a3e in incubator-airflow's branch 
refs/heads/master from [~xuanji]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=01952b3 ]

[AIRFLOW-239] Fix tests indentation

Closes #1591 from zodiac/deindent-tests


> 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)

Reply via email to