jpyen commented on a change in pull request #16318:
URL: https://github.com/apache/airflow/pull/16318#discussion_r648694364
##########
File path: tests/api_connexion/endpoints/test_dag_endpoint.py
##########
@@ -387,6 +396,7 @@ def test_should_raise_404_when_dag_is_not_found(self):
class TestGetDags(TestDagEndpoint):
def test_should_respond_200(self):
self._create_dag_models(2)
+ self._create_deactivated_dag()
Review comment:
That makes sense, should I query DagModel at the same place where we are
testing the API Endpoint?
--
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]