From 3c0a12b4aed2004e74197767731fa92e5fde7956 Mon Sep 17 00:00:00 2001 From: Kye Date: Mon, 25 Dec 2023 18:16:33 -0500 Subject: [PATCH] [CLEANUP][Tool]g --- tests/tools/test_base.py | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/tests/tools/test_base.py b/tests/tools/test_base.py index 9f9c700f..9060f53f 100644 --- a/tests/tools/test_base.py +++ b/tests/tools/test_base.py @@ -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