rawwar commented on code in PR #43841:
URL: https://github.com/apache/airflow/pull/43841#discussion_r1850395524


##########
tests/api_fastapi/core_api/routes/public/test_dag_sources.py:
##########
@@ -74,11 +74,14 @@ def test_should_respond_200_text(self, test_client, 
test_dag):
             json.loads(response.content.decode())
         assert response.headers["Content-Type"].startswith("text/plain")
 
-    def test_should_respond_200_json(self, test_client, test_dag):
+    @pytest.mark.parametrize(
+        "headers", [{"Accept": "application/json"}, {"Accept": 
"application/json; charset=utf-8"}, {}]
+    )
+    def test_should_respond_200_json(self, test_client,test_dag, headers):

Review Comment:
   @pierrejeambrun, @jason810496  , can you commit this



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