[CLEANUP][Tool]g

pull/334/head
Kye 1 year ago
parent 00448fa20e
commit 3c0a12b4ae

@ -391,21 +391,6 @@ def test_structured_tool_ainvoke_with_exceptions():
tool.ainvoke({"tool_input": "input_data"})
# Test additional functionality and edge cases
def test_tool_with_fixture(some_fixture):
# Test Tool with a fixture
tool = Tool()
result = tool.invoke(test_input)
assert result == expected_output
def test_structured_tool_with_fixture(some_fixture):
# Test StructuredTool with a fixture
tool = StructuredTool()
result = tool.invoke(test_input)
assert result == expected_output
def test_base_tool_verbose_logging(caplog):
# Test verbose logging in BaseTool
tool = BaseTool(verbose=True)
@ -428,13 +413,6 @@ def test_structured_tool_async_invoke():
assert result == expected_output
def test_tool_async_invoke_with_fixture(some_fixture):
# Test asynchronous invoke with a fixture in Tool
tool = Tool()
result = tool.ainvoke(test_input)
assert result == expected_output
# Add more tests for specific functionalities and edge cases as needed
# Import necessary libraries and modules

Loading…
Cancel
Save