community[patch]: fix main unit tests (#26189)

This commit is contained in:
Bagatur
2024-09-09 10:35:41 -07:00
committed by GitHub
parent 71268f7a15
commit 0f4a087186
4 changed files with 16 additions and 8 deletions

View File

@@ -120,6 +120,11 @@ def test_serializable_mapping() -> None:
"bedrock",
"ChatBedrock",
),
("langchain_google_genai", "chat_models", "ChatGoogleGenerativeAI"): (
"langchain_google_genai",
"chat_models",
"ChatGoogleGenerativeAI",
),
}
serializable_modules = import_all_modules("langchain")

View File

@@ -93,6 +93,9 @@ def test_test_group_dependencies(poetry_conf: Mapping[str, Any]) -> None:
"responses",
"syrupy",
"requests-mock",
# TODO: Hack to get around cffi 1.17.1 not working with py3.9, remove when
# fix is released.
"cffi",
]
)