Skip to content

Commit e3481b6

Browse files
committed
fix valueerror shadow
1 parent ac1c0d3 commit e3481b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/connectors/weaviate/test_cloud.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import pytest
22

33
from test.integration.connectors.utils.constants import DESTINATION_TAG, VECTOR_DB_TAG
4-
from unstructured_ingest.error import DestinationConnectionError, ValueError
4+
from unstructured_ingest.error import DestinationConnectionError, ValueError as IngestValueError
55
from unstructured_ingest.processes.connectors.weaviate.cloud import (
66
CONNECTOR_TYPE,
77
CloudWeaviateAccessConfig,
@@ -13,7 +13,7 @@
1313

1414
@pytest.mark.tags(CONNECTOR_TYPE, DESTINATION_TAG, VECTOR_DB_TAG)
1515
def test_weaviate_failing_connection_config():
16-
with pytest.raises(ValueError):
16+
with pytest.raises(IngestValueError):
1717
CloudWeaviateConnectionConfig(
1818
access_config=CloudWeaviateAccessConfig(api_key="my key", password="password"),
1919
username="username",

0 commit comments

Comments
 (0)