Skip to content

Commit

Permalink
maybe fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuang11 committed Jan 6, 2025
1 parent bbfca3d commit e31b0d5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lumen/tests/ai/test_vector_store.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
import pytest

try:
import lumen.ai # noqa
except ModuleNotFoundError:
pytest.skip("lumen.ai could not be imported, skipping tests.", allow_module_level=True)

from lumen.ai.embeddings import NumpyEmbeddings
from lumen.ai.vector_store import DuckDBVectorStore, NumpyVectorStore


@pytest.mark.xdist_group("vss")
class VectorStoreTestKit:
"""
A base class (test kit) that provides the *common* tests and fixture definitions.
Expand Down

0 comments on commit e31b0d5

Please sign in to comment.