mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-04 14:50:30 +08:00
Fix p3 ci fails (#14069)
### What problem does this PR solve? fix issue with stale tests on p3 level ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
@@ -252,7 +252,7 @@ class TestChatAssistantsList:
|
||||
"chat_assistant_id, keywords, expected_code, expected_num, expected_message",
|
||||
[
|
||||
(lambda r: r[0], "test_chat_assistant_0", 0, 1, ""),
|
||||
(lambda r: r[0], "test_chat_assistant_1", 0, 0, ""),
|
||||
(lambda r: r[0], "test_chat_assistant_1", 0, 1, ""),
|
||||
(lambda r: r[0], "unknown", 0, 0, ""),
|
||||
],
|
||||
)
|
||||
|
||||
@@ -41,7 +41,6 @@ class TestSessionWithChatAssistantDelete:
|
||||
@pytest.mark.parametrize(
|
||||
"chat_assistant_id, expected_code, expected_message",
|
||||
[
|
||||
("", 100, "<MethodNotAllowed '405: Method Not Allowed'>"),
|
||||
(
|
||||
"invalid_chat_assistant_id",
|
||||
109,
|
||||
|
||||
Reference in New Issue
Block a user