mik-laj commented on a change in pull request #7296: [AIRFLOW-6683] Make REST 
API respect store_serialized_dag setting
URL: https://github.com/apache/airflow/pull/7296#discussion_r373085145
 
 

 ##########
 File path: tests/www/api/experimental/test_dag_runs_endpoint.py
 ##########
 @@ -48,6 +48,8 @@ def tearDown(self):
         session.query(DagRun).delete()
         session.commit()
         session.close()
+        from airflow.configuration import conf as global_conf
+        global_conf.set('core', 'store_serialized_dags', 'False')
 
 Review comment:
   I think it's worth testing two cases - when store_serialized_dags = true and 
when store_serialized_dags = False

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