kaxil commented on a change in pull request #8992:
URL: https://github.com/apache/airflow/pull/8992#discussion_r443552728



##########
File path: tests/ti_deps/deps/test_trigger_rule_dep.py
##########
@@ -19,13 +19,13 @@
 
 import unittest
 from datetime import datetime
+from unittest.mock import Mock
 
 from airflow.models import BaseOperator, TaskInstance
 from airflow.utils.trigger_rule import TriggerRule
 from airflow.ti_deps.deps.trigger_rule_dep import TriggerRuleDep
 from airflow.utils.db import create_session
 from airflow.utils.state import State

Review comment:
       ```suggestion
   
   from airflow.models import BaseOperator, TaskInstance
   from airflow.utils.trigger_rule import TriggerRule
   from airflow.ti_deps.deps.trigger_rule_dep import TriggerRuleDep
   from airflow.utils.db import create_session
   from airflow.utils.state import State
   from tests.compat import Mock
   ```




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to