groq[patch]: update standard tests (#27744)

- Add xfail on integration test (fails [> 50% of the
time](https://github.com/langchain-ai/langchain/actions/workflows/scheduled_test.yml));
- Remove xfail on passing unit test.
This commit is contained in:
ccurme
2024-10-30 11:50:51 -04:00
committed by GitHub
parent 98bb3a02bd
commit bd5ea18a6c
2 changed files with 9 additions and 5 deletions

View File

@@ -2,7 +2,6 @@
from typing import Type
import pytest
from langchain_core.language_models import BaseChatModel
from langchain_standard_tests.unit_tests.chat_models import (
ChatModelUnitTests,
@@ -15,7 +14,3 @@ class TestGroqStandard(ChatModelUnitTests):
@property
def chat_model_class(self) -> Type[BaseChatModel]:
return ChatGroq
@pytest.mark.xfail(reason="Groq does not support tool_choice='any'")
def test_bind_tool_pydantic(self, model: BaseChatModel) -> None:
super().test_bind_tool_pydantic(model)