diff --git a/tests/unit/test_commands.py b/tests/unit/test_commands.py index ecbac9b73bd9..5d3a8ca67820 100644 --- a/tests/unit/test_commands.py +++ b/tests/unit/test_commands.py @@ -9,7 +9,8 @@ @pytest.mark.integration_test def test_make_agent() -> None: - """Test the make_agent command""" + """Test that an agent can be created""" + # Use the mock agent manager to avoid creating a real agent with patch("openai.ChatCompletion.create") as mock: obj = MagicMock() obj.response.choices[0].messages[0].content = "Test message"