From cf7d1c361e870d006a4607a52cc19839727580b1 Mon Sep 17 00:00:00 2001 From: Harutaka Kawamura Date: Thu, 5 Dec 2024 21:18:27 +0900 Subject: [PATCH] Update test_vectorstore.py --- libs/databricks/tests/unit_tests/test_vectorstore.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libs/databricks/tests/unit_tests/test_vectorstore.py b/libs/databricks/tests/unit_tests/test_vectorstore.py index 3b9fb66..25411db 100644 --- a/libs/databricks/tests/unit_tests/test_vectorstore.py +++ b/libs/databricks/tests/unit_tests/test_vectorstore.py @@ -183,9 +183,7 @@ def test_init_with_endpoint_name() -> None: assert vectorsearch.index.describe() == INDEX_DETAILS[DELTA_SYNC_INDEX] -@pytest.mark.parametrize( - "index_name", [None, 123, MagicMock(spec=VectorSearchIndex)] -) +@pytest.mark.parametrize("index_name", [None, 123, MagicMock(spec=VectorSearchIndex)]) def test_init_fail_invalid_index_name(index_name) -> None: with pytest.raises(ValueError, match="The `index_name` parameter must be"): DatabricksVectorSearch(index_name=index_name)