mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
Update optional dependencies tests
Co-Authored-By: João <joao@crewai.com>
This commit is contained in:
@@ -14,13 +14,11 @@ def test_import_without_chromadb():
|
|||||||
if "crewai.utilities.embedding_configurator" in sys.modules:
|
if "crewai.utilities.embedding_configurator" in sys.modules:
|
||||||
importlib.reload(sys.modules["crewai.utilities.embedding_configurator"])
|
importlib.reload(sys.modules["crewai.utilities.embedding_configurator"])
|
||||||
|
|
||||||
import crewai
|
|
||||||
|
|
||||||
from crewai import Agent, Task, Crew, Process
|
from crewai import Agent, Task, Crew, Process
|
||||||
|
|
||||||
agent = Agent(role="Test Agent", goal="Test Goal", backstory="Test Backstory")
|
agent = Agent(role="Test Agent", goal="Test Goal", backstory="Test Backstory")
|
||||||
task = Task(description="Test Task", agent=agent)
|
task = Task(description="Test Task", agent=agent)
|
||||||
crew = Crew(agents=[agent], tasks=[task], process=Process.sequential)
|
_ = Crew(agents=[agent], tasks=[task], process=Process.sequential)
|
||||||
|
|
||||||
|
|
||||||
def test_memory_storage_without_chromadb():
|
def test_memory_storage_without_chromadb():
|
||||||
|
|||||||
Reference in New Issue
Block a user