import inspect


def test_planning_handler_callable():
    from scribe.routes import tasks as tasks_routes
    assert callable(tasks_routes.start_planning_route)


def test_planning_service_signature():
    from scribe.services.planning import start_planning
    params = inspect.signature(start_planning).parameters
    assert "user_id" in params and "project_id" in params and "title" in params
