Skip to content

Commit

Permalink
Update test_commands.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AndresCdo committed Apr 20, 2023
1 parent 18f1efc commit e4caa99
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit e4caa99

Please sign in to comment.