From 29218fd404f6288e86270b177c00a0b4d34705b6 Mon Sep 17 00:00:00 2001 From: evelynmitchell Date: Wed, 18 Dec 2024 20:04:02 -0700 Subject: [PATCH] Revert "Fix F811 redefinition" This reverts commit e011ac9f92cca2a9dfb5fafd58f6ce6992895ea9. --- tests/agents/test_agent_logging.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tests/agents/test_agent_logging.py b/tests/agents/test_agent_logging.py index 1d63fd4d..1439935e 100644 --- a/tests/agents/test_agent_logging.py +++ b/tests/agents/test_agent_logging.py @@ -1,14 +1,11 @@ -""" -Unit tests for the Agent logging functionality. -""" - from unittest.mock import MagicMock import unittest from swarms.structs.agent import Agent +from swarms.tools.tool_parse_exec import parse_and_execute_json # Mock parse_and_execute_json for testing -mock_parse_and_execute_json = MagicMock() -mock_parse_and_execute_json.return_value = { +parse_and_execute_json = MagicMock() +parse_and_execute_json.return_value = { "tool_name": "calculator", "args": {"numbers": [2, 2]}, "output": "4",