通过自动提及和标签创建功能,增强文章编辑功能
- 在文章编辑过程中,实现了自动创建不存在的@提及和#标签的功能,确保它们被添加到相应的数据库中。 - 更新了内容处理逻辑,以利用新创建的提及和标签,从而改善用户体验和内容管理。 - 增强了人物和链接标签创建的后端处理能力,使文章编辑过程中能够实现无缝集成。
This commit is contained in:
11
scripts/test/process/test_health.py
Normal file
11
scripts/test/process/test_health.py
Normal file
@@ -0,0 +1,11 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
流程测试前置:健康检查。确保 soul-api 已启动。
|
||||
"""
|
||||
import requests
|
||||
|
||||
|
||||
def test_health(base_url):
|
||||
"""GET /health 健康检查"""
|
||||
r = requests.get(f"{base_url}/health", timeout=5)
|
||||
assert r.status_code == 200
|
||||
Reference in New Issue
Block a user