12 lines
403 B
Python
12 lines
403 B
Python
from app.task_dashboard_view import TaskDashboardView
|
|
|
|
|
|
def test_task_dashboard_contains_operations_views():
|
|
result = TaskDashboardView().build([
|
|
{"task_id": "t1", "status": "running", "executor": "openclaw"}
|
|
])
|
|
assert result["route"] == "/admin/ai-evolution/tasks"
|
|
assert "kanban" in result["views"]
|
|
assert "timeline" in result["views"]
|
|
assert "flow" in result["views"]
|