Revert "Fix F811 redefinition"

This reverts commit e011ac9f92.
pull/693/head
evelynmitchell 3 weeks ago
parent c2b1dd0bc7
commit 29218fd404

@ -1,14 +1,11 @@
"""
Unit tests for the Agent logging functionality.
"""
from unittest.mock import MagicMock from unittest.mock import MagicMock
import unittest import unittest
from swarms.structs.agent import Agent 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 for testing
mock_parse_and_execute_json = MagicMock() parse_and_execute_json = MagicMock()
mock_parse_and_execute_json.return_value = { parse_and_execute_json.return_value = {
"tool_name": "calculator", "tool_name": "calculator",
"args": {"numbers": [2, 2]}, "args": {"numbers": [2, 2]},
"output": "4", "output": "4",

Loading…
Cancel
Save