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

Remove unnecessary local variable

    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.10.7
    • Fix Version/s: 1.10.8
    • Component/s: tests
    • Labels:
      None

      Description

      In test_templated_sensor (tests/sensors/test_external_task_sensor.py) unit test method, self.dag can be used instead of creating a local variable named "dag" (line 98).

        Attachments

          Activity

            People

            • Assignee:
              mustafagok Mustafa Gök
              Reporter:
              mustafagok Mustafa Gök
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: