Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /SHAdd0WTAka_Zen-Ai-Pentest /tests /test_agents_coverage.py
| """Agents Module Tests""" | |
| from unittest.mock import Mock, patch | |
| import pytest | |
| from agents.agent_base import AgentRole, AgentState, BaseAgent | |
| def test_agent_state_enum(): | |
| """Test AgentState enum.""" | |
| assert AgentState.IDLE.value == "idle" | |
| assert AgentState.BUSY.value == "busy" | |
| def test_agent_role_enum(): | |
| """Test AgentRole enum.""" | |
| assert AgentRole.RESEARCHER.value == "researcher" | |
| assert AgentRole.ANALYST.value == "analyst" | |
Xet Storage Details
- Size:
- 456 Bytes
- Xet hash:
- 6fb5c21f9932b45222fa295744e647711e472eb1097479851c9fe671be86b6e3
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.