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


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

Review Comment:
   Here too `*/*` should behave as `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