You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/community/tests/unit_tests/storage/test_imports.py

16 lines
353 B
Python

from langchain_community.storage import __all__, _module_lookup
EXPECTED_ALL = [
"AstraDBStore",
"AstraDBByteStore",
"MongoDBStore",
"RedisStore",
"UpstashRedisByteStore",
"UpstashRedisStore",
]
def test_all_imports() -> None:
assert set(__all__) == set(EXPECTED_ALL)
assert set(__all__) == set(_module_lookup.keys())