mirror of
https://github.com/hwchase17/langchain
synced 2024-11-10 01:10:59 +00:00
12 lines
334 B
Python
12 lines
334 B
Python
|
"""Light weight unit test that attempts to import MongodbStore.
|
||
|
|
||
|
The actual code is tested in integration tests.
|
||
|
|
||
|
This test is intended to catch errors in the import process.
|
||
|
"""
|
||
|
|
||
|
|
||
|
def test_import_storage() -> None:
|
||
|
"""Attempt to import storage modules."""
|
||
|
from langchain_community.storage.mongodb import MongoDBStore # noqa
|