Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-6699

Parameterize weekday sensor tests

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.10.7
    • Fix Version/s: 2.0.0
    • Component/s: tests
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              coopergillan Cooper Gillan
              Reporter:
              coopergillan Cooper Gillan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: