mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-29 18:18:13 +00:00
test: Update error message in test_agent_invalid_embedder_config
Co-Authored-By: Joe Moura <joao@crewai.com>
This commit is contained in:
@@ -40,7 +40,7 @@ def mock_vector_db():
|
|||||||
|
|
||||||
def test_agent_invalid_embedder_config():
|
def test_agent_invalid_embedder_config():
|
||||||
"""Test that an invalid embedder configuration raises a ValueError."""
|
"""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(
|
Agent(
|
||||||
role="test role",
|
role="test role",
|
||||||
goal="test goal",
|
goal="test goal",
|
||||||
|
|||||||
Reference in New Issue
Block a user