Skip to content

Commit

Permalink
tests fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
davorrunje committed Jan 21, 2025
1 parent 4fc5906 commit 4afab89
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 18 deletions.
9 changes: 0 additions & 9 deletions test/interop/langchain/test_langchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,3 @@ def test_with_llm(self, credentials_gpt_4o: Credentials) -> None:
user_proxy.initiate_chat(recipient=chatbot, message="search for LangChain, Use max 100 characters", max_turns=5)

self.mock.assert_called()


@skip_on_missing_imports("langchain", "interop-langchain")
class TestLangChainInteroperabilityIfNotSupported:
def test_get_unsupported_reason(self) -> None:
assert (
LangChainInteroperability.get_unsupported_reason()
== "This submodule is only supported for Python versions 3.9 and above"
)
9 changes: 0 additions & 9 deletions test/interop/pydantic_ai/test_pydantic_ai.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,12 +205,3 @@ def test_with_llm(self, credentials_gpt_4o: Credentials) -> None:
return

assert False, "No tool response found in chat messages"


@skip_on_missing_imports("pydantic_ai", "interop-pydantic-ai")
class TestPydanticAIInteroperabilityIfNotSupported:
def test_get_unsupported_reason(self) -> None:
assert (
PydanticAIInteroperability.get_unsupported_reason()
== "This submodule is only supported for Python versions 3.9 and above"
)

0 comments on commit 4afab89

Please sign in to comment.