tests[patch]: nits (#28601)

This commit is contained in:
ccurme 2024-12-06 19:13:04 -05:00 committed by GitHub
parent a32035d17d
commit d801c6ffc7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 2 deletions

View File

@ -3,5 +3,5 @@ Base Test classes for standard testing.
To learn how to use these classes, see the
`Integration standard testing <https://python.langchain.com/docs/contributing/how_to/integrations/standard_tests/>`_
guide
guide.
"""

View File

@ -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.

View File

@ -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."""