airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Riccomini (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Deleted] (AIRFLOW-239) test_hdfs_sensor, etc not collected by nosetests
Date Tue, 14 Jun 2016 22:33:30 GMT

     [ https://issues.apache.org/jira/browse/AIRFLOW-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Chris Riccomini updated AIRFLOW-239:
------------------------------------
    Comment: was deleted

(was: Woah. Looks like bad indentation. Can you send a PR to fix?)

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

Mime
View raw message