update test expectations for Highspot connector (#4464)

This commit is contained in:
SubashMohan
2025-04-07 10:42:22 +05:30
committed by GitHub
parent 989dab51b9
commit 157da24504
3 changed files with 11 additions and 6 deletions

View File

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

View File

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

View File

@@ -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"
}
}