from app.api.routes.admin_logs import router
from app.schemas.log import OperationLogPage


def test_operation_log_list_uses_paginated_response_model():
    list_route = next(route for route in router.routes if route.path == "")

    assert list_route.response_model is OperationLogPage
