test: Update error message in test_agent_invalid_embedder_config

Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
Devin AI
2025-02-19 15:36:12 +00:00
parent fb4bdad367
commit 633f6973b2

View File

@@ -40,7 +40,7 @@ def mock_vector_db():
def test_agent_invalid_embedder_config():
"""Test that an invalid embedder configuration raises a ValueError."""
with pytest.raises(ValueError, match="embedder_config must be a dictionary"):
with pytest.raises(ValueError, match="Input should be a valid dictionary"):
Agent(
role="test role",
goal="test goal",