Skip to content

Commit

Permalink
update header test
Browse files Browse the repository at this point in the history
  • Loading branch information
jlonge4 committed Nov 13, 2024
1 parent bec5a9b commit d9c8ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrations/jina/tests/test_reader_connector.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d9c8ffe

Please sign in to comment.