diff --git a/integrations/jina/tests/test_reader_connector.py b/integrations/jina/tests/test_reader_connector.py index 30a4cff72..93a62afe8 100644 --- a/integrations/jina/tests/test_reader_connector.py +++ b/integrations/jina/tests/test_reader_connector.py @@ -18,7 +18,7 @@ def test_init_with_custom_parameters(self): assert reader.mode == JinaReaderMode.READ assert reader.api_key.resolve_value() == "test-api-key" assert reader.json_response is False - assert "Accept" not in reader._session.headers + assert "application/json" not in reader._session.headers.values() def test_to_dict(self): reader = JinaReaderConnector(mode="SEARCH", api_key=Secret.from_token("test-api-key"), json_response=True)