You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/02/02 19:10:00 UTC
[jira] [Commented] (AIRFLOW-6699) Parameterize weekday sensor tests
[ https://issues.apache.org/jira/browse/AIRFLOW-6699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17028520#comment-17028520 ]
ASF subversion and git services commented on AIRFLOW-6699:
----------------------------------------------------------
Commit ea268b940cd44f668b5385d39b89c5145e2b3724 in airflow's branch refs/heads/master from Cooper Gillan
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=ea268b9 ]
[AIRFLOW-6699] Parameterize weekday sensor tests (#7316)
Using the parameterized library, consolidate the true or "happy path"
tests, reducing overall code to maintain and showing each test case in
one list of tuples.
> Parameterize weekday sensor tests
> ---------------------------------
>
> Key: AIRFLOW-6699
> URL: https://issues.apache.org/jira/browse/AIRFLOW-6699
> Project: Apache Airflow
> Issue Type: Improvement
> Components: tests
> Affects Versions: 1.10.7
> Reporter: Cooper Gillan
> Assignee: Cooper Gillan
> Priority: Minor
> Fix For: 1.10.8
>
>
> Many of the arguments for the true tests in tests/sensors/test_weekday_sensor.py are repeated. The tests are also running with unittest.TestCase rather than pytest.
> Make use of pytest's parametrize functionality to use the same base tests for true tests.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)