Test: Update test cases for PR 6888 ISSUE 6876 (#6907)

### What problem does this PR solve?

PR #6888 ISSUE #6876

### Type of change

- [x] Update test case
This commit is contained in:
liu an
2025-04-09 20:29:29 +08:00
committed by GitHub
parent a008b38cf5
commit 22758a2763
2 changed files with 3 additions and 7 deletions

View File

@ -109,6 +109,5 @@ class TestSessionWithChatAssistantCreate:
res = delete_chat_assistants(get_http_api_auth, {"ids": [chat_assistant_ids[0]]})
assert res["code"] == 0
res = create_session_with_chat_assistant(get_http_api_auth, chat_assistant_ids[0], {"name": "valid_name"})
print(res)
assert res["code"] == 102
assert res["message"] == "You do not own the assistant."