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:
[email protected]


With regards,
Apache Git Services

Reply via email to