From d801c6ffc789c89e3bb763e5ca00d64af903f059 Mon Sep 17 00:00:00 2001 From: ccurme Date: Fri, 6 Dec 2024 19:13:04 -0500 Subject: [PATCH] tests[patch]: nits (#28601) --- libs/standard-tests/langchain_tests/__init__.py | 2 +- .../langchain_tests/integration_tests/vectorstores.py | 2 +- libs/standard-tests/langchain_tests/unit_tests/chat_models.py | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libs/standard-tests/langchain_tests/__init__.py b/libs/standard-tests/langchain_tests/__init__.py index 1ebd42cf789..0f41b67980c 100644 --- a/libs/standard-tests/langchain_tests/__init__.py +++ b/libs/standard-tests/langchain_tests/__init__.py @@ -3,5 +3,5 @@ Base Test classes for standard testing. To learn how to use these classes, see the `Integration standard testing `_ -guide +guide. """ diff --git a/libs/standard-tests/langchain_tests/integration_tests/vectorstores.py b/libs/standard-tests/langchain_tests/integration_tests/vectorstores.py index 71ec7d8bfba..c043023f3ac 100644 --- a/libs/standard-tests/langchain_tests/integration_tests/vectorstores.py +++ b/libs/standard-tests/langchain_tests/integration_tests/vectorstores.py @@ -15,7 +15,7 @@ EMBEDDING_SIZE = 6 class VectorStoreIntegrationTests(BaseStandardTests): - """Base class for checking the read-write API of a vector store. + """Base class for vector store integration tests. Implementers should subclass this test suite and provide a fixture that returns an empty vector store for each test. diff --git a/libs/standard-tests/langchain_tests/unit_tests/chat_models.py b/libs/standard-tests/langchain_tests/unit_tests/chat_models.py index f698f658d08..9d3b20de4ce 100644 --- a/libs/standard-tests/langchain_tests/unit_tests/chat_models.py +++ b/libs/standard-tests/langchain_tests/unit_tests/chat_models.py @@ -105,6 +105,8 @@ class ChatModelTests(BaseStandardTests): @pytest.fixture def my_adder_tool(self) -> BaseTool: + """:private:""" + @tool def my_adder_tool(a: int, b: int) -> int: """Takes two integers, a and b, and returns their sum."""