diff --git a/tests/test_server_dashscope_routes.py b/tests/test_server_dashscope_routes.py index 30cd37f..cc6662a 100644 --- a/tests/test_server_dashscope_routes.py +++ b/tests/test_server_dashscope_routes.py @@ -100,19 +100,19 @@ def test_pipeline_selected_via_pipeline_id_body(dashscope_server): ) body = { "input": { - "prompt": "hello from xiaozhan", + "prompt": "你是谁?", "session_id": "sess-1", }, - "pipeline_id": "xiaozhan", + "pipeline_id": "blueberry", "stream": False, } resp = _post_app_response( - base_url, pipeline_id="xiaozhan", body=body, api_key=api_key + base_url, pipeline_id="blueberry", body=body, api_key=api_key ) assert resp.status_code == HTTPStatus.OK, resp.text data = resp.json() - assert data.get("pipeline_id") == "xiaozhan" + assert data.get("pipeline_id") == "blueberry" assert "text" in data.get("output", {})