You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/06/08 18:44:48 UTC

[GitHub] [airflow] ephraimbuddy commented on a change in pull request #16318: Fix API List DAGs inconsistent with UI/CLI

ephraimbuddy commented on a change in pull request #16318:
URL: https://github.com/apache/airflow/pull/16318#discussion_r647706453



##########
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:
       How about you add a query that asserts that the number of dags in DagModel is  3




-- 
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:
users@infra.apache.org