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/chat_models/test_mlx.py

12 lines
310 B
Python

"""Test MLX Chat wrapper."""
from importlib import import_module
def test_import_class() -> None:
"""Test that the class can be imported."""
module_name = "langchain_community.chat_models.mlx"
class_name = "ChatMLX"
module = import_module(module_name)
assert hasattr(module, class_name)