mirror of
https://github.com/hwchase17/langchain
synced 2024-11-11 19:11:02 +00:00
16 lines
387 B
Python
16 lines
387 B
Python
|
"""Standard LangChain interface tests"""
|
||
|
|
||
|
from typing import Type
|
||
|
|
||
|
import pytest
|
||
|
from langchain_core.language_models import BaseChatModel
|
||
|
from langchain_standard_tests.unit_tests import ChatModelUnitTests
|
||
|
|
||
|
from langchain_groq import ChatGroq
|
||
|
|
||
|
|
||
|
class TestGroqStandard(ChatModelUnitTests):
|
||
|
@pytest.fixture
|
||
|
def chat_model_class(self) -> Type[BaseChatModel]:
|
||
|
return ChatGroq
|