feat(v2): Web 界面(对话/协作过程/人工检验/指标)+ worker 优雅降级
This commit is contained in:
@@ -71,6 +71,14 @@ def test_workspace_not_found(client):
|
||||
assert resp.status_code == 404
|
||||
|
||||
|
||||
def test_web_ui_served(client):
|
||||
resp = client.get("/")
|
||||
assert resp.status_code == 200
|
||||
assert resp.headers["content-type"].startswith("text/html")
|
||||
assert "端云协同" in resp.text
|
||||
assert "发送" in resp.text
|
||||
|
||||
|
||||
def test_review_flow(client):
|
||||
q = ga.get_review()
|
||||
rid = q.enqueue("req-x", "q", "ans", tags=["safety"], reason="test")
|
||||
|
||||
Reference in New Issue
Block a user