mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-08-31 18:36:08 +02:00
update test expectations for Highspot connector (#4464)
This commit is contained in:
@@ -350,6 +350,9 @@ class HighspotConnector(LoadConnector, PollConnector, SlimConnector):
|
||||
return default_content
|
||||
|
||||
else:
|
||||
logger.warning(
|
||||
f"Item {item_id} has unsupported format: {file_extension}"
|
||||
)
|
||||
return default_content
|
||||
|
||||
except HighspotClientError as e:
|
||||
|
@@ -106,9 +106,11 @@ def test_highspot_connector_slim(
|
||||
assert len(all_slim_doc_ids) > 0
|
||||
|
||||
|
||||
@pytest.mark.xfail(
|
||||
reason="failing, needs fix",
|
||||
)
|
||||
"""This test might fail because of how Highspot handles changes to the document's
|
||||
"updated at" property. It is marked as expected to fail until we can confirm the behavior."""
|
||||
|
||||
|
||||
@pytest.mark.xfail(reason="Highspot is not returning updated documents as expected.")
|
||||
@patch(
|
||||
"onyx.file_processing.extract_file_text.get_unstructured_api_key",
|
||||
return_value=None,
|
||||
|
@@ -3,8 +3,8 @@
|
||||
"semantic_identifier": "Highspot in Action _ Salesforce Integration",
|
||||
"link": "https://www.highspot.com/items/67cd8eb35d3ee0487de2e704",
|
||||
"poll_source": {
|
||||
"target_doc_id":"67ef9edcc3f40b2bf3d816a8",
|
||||
"semantic_identifier":"A Brief Introduction To AI",
|
||||
"link":"https://www.highspot.com/items/67ef9edcc3f40b2bf3d816a8"
|
||||
"target_doc_id":"67efb452c3f40bcca2b48ca5",
|
||||
"semantic_identifier":"Introduction to Intelligent Agents",
|
||||
"link":"https://www.highspot.com/items/67efb452c3f40bcca2b48ca5"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user