nuclearpinguin 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_r374185022
##########
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:
I think using `conf_vars` as decorator will reduce number of code changes :)
----------------------------------------------------------------
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