kaxil commented on a change in pull request #15922:
URL: https://github.com/apache/airflow/pull/15922#discussion_r634616931
##########
File path: tests/models/test_taskinstance.py
##########
@@ -2057,6 +2057,26 @@ def test_refresh_from_task(pool_override):
assert ti.operator == DummyOperator.__name__
+def test_refresh_from_db():
+ """
+ Test that all columns defined on the TaskInstance are refreshed form the db
Review comment:
```suggestion
Test that all columns defined on the TaskInstance are refreshed from the
db
```
##########
File path: tests/models/test_taskinstance.py
##########
@@ -2057,6 +2057,26 @@ def test_refresh_from_task(pool_override):
assert ti.operator == DummyOperator.__name__
+def test_refresh_from_db():
+ """
+ Test that all columns defined on the TaskInstance are refreshed form the db
+ """
+ dag = DAG('dag', start_date=DEFAULT_DATE)
Review comment:
```suggestion
dag = DAG('test_refresh_from_db', start_date=DEFAULT_DATE)
```
--
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]