Files
copilotkit__copilotkit/showcase/shared/python/tests/test_schedule_meeting.py
Jordan Ritter 2482317ccc style: apply ruff format to Python codebase
320 files reformatted. One-time alignment to match the ruff format
check added to CI in #4812.
2026-05-13 23:10:35 -07:00

23 lines
579 B
Python

import pytest
from tools import schedule_meeting_impl
def test_returns_pending_status():
result = schedule_meeting_impl("discuss roadmap")
assert result["status"] == "pending_approval"
def test_includes_reason():
result = schedule_meeting_impl("quarterly review")
assert result["reason"] == "quarterly review"
def test_includes_duration_minutes():
result = schedule_meeting_impl("sync", 45)
assert result["duration_minutes"] == 45
def test_default_duration():
result = schedule_meeting_impl("sync")
assert result["duration_minutes"] == 30