mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-06-27 00:11:01 +02:00
xfail highspot connector tests (#4296)
Co-authored-by: Richard Kuo (Onyx) <rkuo@onyx.app>
This commit is contained in:
parent
07b68436cf
commit
c32d234491
@ -40,6 +40,9 @@ def highspot_connector() -> HighspotConnector:
|
|||||||
return connector
|
return connector
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.xfail(
|
||||||
|
reason="Accessing postgres that isn't available in connector only tests",
|
||||||
|
)
|
||||||
def test_highspot_connector_basic(highspot_connector: HighspotConnector) -> None:
|
def test_highspot_connector_basic(highspot_connector: HighspotConnector) -> None:
|
||||||
"""Test basic functionality of the Highspot connector."""
|
"""Test basic functionality of the Highspot connector."""
|
||||||
all_docs: list[Document] = []
|
all_docs: list[Document] = []
|
||||||
@ -73,6 +76,9 @@ def test_highspot_connector_basic(highspot_connector: HighspotConnector) -> None
|
|||||||
assert len(section.text) > 0
|
assert len(section.text) > 0
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.mark.xfail(
|
||||||
|
reason="Possibly accessing postgres that isn't available in connector only tests",
|
||||||
|
)
|
||||||
def test_highspot_connector_slim(highspot_connector: HighspotConnector) -> None:
|
def test_highspot_connector_slim(highspot_connector: HighspotConnector) -> None:
|
||||||
"""Test slim document retrieval."""
|
"""Test slim document retrieval."""
|
||||||
# Get all doc IDs from the full connector
|
# Get all doc IDs from the full connector
|
||||||
|
Loading…
x
Reference in New Issue
Block a user