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 2020/02/03 16:11:53 UTC

[GitHub] [airflow] mik-laj commented on a change in pull request #7352: [AIRFLOW-6683] Run REST API tests when DAGs are serialized

mik-laj commented on a change in pull request #7352: [AIRFLOW-6683] Run REST API tests when DAGs are serialized
URL: https://github.com/apache/airflow/pull/7352#discussion_r374193865
 
 

 ##########
 File path: tests/www/api/experimental/test_endpoints.py
 ##########
 @@ -80,239 +90,265 @@ def test_info(self):
         self.assertEqual(version, resp['version'])
 
     def test_task_info(self):
-        url_template = '/api/experimental/dags/{}/tasks/{}'
+        with conf_vars(
+            {("core", "store_serialized_dags"): self.dag_serialzation}
+        ):
+            url_template = '/api/experimental/dags/{}/tasks/{}'
 
 Review comment:
   This will not work properly with`parameterized_class`

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


With regards,
Apache Git Services