优化系统界面并接入正式品牌标识
This commit is contained in:
8
backend/tests/test_admin_logs.py
Normal file
8
backend/tests/test_admin_logs.py
Normal file
@@ -0,0 +1,8 @@
|
||||
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
|
||||
Reference in New Issue
Block a user