mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-07 15:18:29 +00:00
Some checks failed
Notify Downstream / notify-downstream (push) Has been cancelled
fix: resolve flaky tests and race conditions in test suite - Fix telemetry/event tests by patching class methods instead of instances - Use unique temp files/directories to prevent CI race conditions - Reset singleton state between tests - Mock embedchain.Client.setup() to prevent JSON corruption - Rename test files to test_*.py convention - Move agent tests to tests/agents directory - Fix repeated tool usage detection - Remove database-dependent tools causing initialization errors
16 lines
388 B
Python
16 lines
388 B
Python
"""Test that all public API classes are properly importable."""
|
|
|
|
|
|
def test_task_output_import():
|
|
"""Test that TaskOutput can be imported from crewai."""
|
|
from crewai import TaskOutput
|
|
|
|
assert TaskOutput is not None
|
|
|
|
|
|
def test_crew_output_import():
|
|
"""Test that CrewOutput can be imported from crewai."""
|
|
from crewai import CrewOutput
|
|
|
|
assert CrewOutput is not None
|