You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Mustafa Gök (Jira)" <ji...@apache.org> on 2020/01/05 10:57:00 UTC

[jira] [Created] (AIRFLOW-6467) Remove unnecessary local variable

Mustafa Gök created AIRFLOW-6467:
------------------------------------

             Summary: Remove unnecessary local variable
                 Key: AIRFLOW-6467
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6467
             Project: Apache Airflow
          Issue Type: Test
          Components: tests
    Affects Versions: 1.10.7
            Reporter: Mustafa Gök
            Assignee: Mustafa Gök


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).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)