mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-24 19:08:15 +00:00
fix:vectordb lazy load
This commit is contained in:
@@ -3,8 +3,9 @@ import pytest
|
||||
from pilot import vector_store
|
||||
from pilot.vector_store.base import VectorStoreBase
|
||||
|
||||
def test_vetorestore_imports() -> None:
|
||||
""" Simple test to make sure all things can be imported."""
|
||||
|
||||
for cls in vector_store.__all__:
|
||||
def test_vetorestore_imports() -> None:
|
||||
"""Simple test to make sure all things can be imported."""
|
||||
|
||||
for cls in vector_store.__all__:
|
||||
assert issubclass(getattr(vector_store, cls), VectorStoreBase)
|
||||
|
Reference in New Issue
Block a user