[
https://issues.apache.org/jira/browse/AIRFLOW-4058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16789428#comment-16789428
]
ASF subversion and git services commented on AIRFLOW-4058:
----------------------------------------------------------
Commit 4fb91b0b674a187447e18e6171df7be8a85ac22c in airflow's branch
refs/heads/master from Peter van 't Hof
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=4fb91b0 ]
[AIRFLOW-4058] Name models test file to get automatically picked up (#4901)
We had `from .models import *` inside test/__init__.py as a kludge around this
test
file not being named according to expected Python conventions. Renaming the file
makes more test tools happier (and makes it easier to run a single test file
without
importing half of the test tree which the current approach suffers from)
> Rename test files
> -----------------
>
> Key: AIRFLOW-4058
> URL: https://issues.apache.org/jira/browse/AIRFLOW-4058
> Project: Apache Airflow
> Issue Type: Improvement
> Components: tests
> Reporter: Peter van 't Hof
> Assignee: Peter van 't Hof
> Priority: Major
>
> Currently we have `tests/core.py` and `tests/models.py`. It's better to
> rename this to `tests/test_core.py` and `tests/test_models.py`. This is
> follow more the python conventions. This also offers better integration with
> ide's.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)