You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Cooper Gillan (Jira)" <ji...@apache.org> on 2020/01/31 20:44:00 UTC

[jira] [Created] (AIRFLOW-6699) Parameterize weekday sensor tests

Cooper Gillan created AIRFLOW-6699:
--------------------------------------

             Summary: 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


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)