From d3a9b678109524bc7f4623915625bc3324563d68 Mon Sep 17 00:00:00 2001 From: Chester Curme Date: Thu, 12 Sep 2024 15:32:01 -0400 Subject: [PATCH] enable standard tests --- .../tests/integration_tests/test_chat_models_standard.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/upstage/tests/integration_tests/test_chat_models_standard.py b/libs/upstage/tests/integration_tests/test_chat_models_standard.py index 5d38afe..6337c7b 100644 --- a/libs/upstage/tests/integration_tests/test_chat_models_standard.py +++ b/libs/upstage/tests/integration_tests/test_chat_models_standard.py @@ -9,7 +9,6 @@ from langchain_upstage import ChatUpstage -@pytest.mark.skip("fix after following openai spec") class TestUpstageStandard(ChatModelIntegrationTests): @property def chat_model_class(self) -> Type[BaseChatModel]: @@ -20,3 +19,7 @@ def chat_model_params(self) -> dict: return { "model": "solar-1-mini-chat", } + + @pytest.mark.xfail(reason="Not implemented.") + def test_usage_metadata_streaming(self, model: BaseChatModel) -> None: + super().test_usage_metadata_streaming(model)