ephraimbuddy commented on code in PR #30936:
URL: https://github.com/apache/airflow/pull/30936#discussion_r1180080031


##########
tests/api_connexion/endpoints/test_config_endpoint.py:
##########
@@ -105,6 +105,23 @@ def test_should_respond_200_application_json(self, 
mock_as_dict):
         }
         assert expected == response.json
 
+    @patch("airflow.api_connexion.endpoints.config_endpoint.conf.as_dict", 
return_value=MOCK_CONF)
+    def test_should_respond_200_single_section_as_text_plain(self, 
mock_as_dict):

Review Comment:
   Can you add test for when mime type is application/json



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to