mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-09-07 17:58:55 +08:00
Go: add context, part11 (#17426)
Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
@@ -255,28 +255,28 @@ def test_documents_list_error_and_sorting_contract(rest_client, create_dataset,
|
||||
f"/datasets/{dataset_id}/documents",
|
||||
{"name": "unknown.txt"},
|
||||
102,
|
||||
"You don't own the document unknown.txt.",
|
||||
"you don't own the document unknown.txt",
|
||||
),
|
||||
(
|
||||
"id unknown",
|
||||
f"/datasets/{dataset_id}/documents",
|
||||
{"id": "unknown.txt"},
|
||||
102,
|
||||
"You don't own the document unknown.txt.",
|
||||
"you don't own the document unknown.txt",
|
||||
),
|
||||
(
|
||||
"name+id unknown name",
|
||||
f"/datasets/{dataset_id}/documents",
|
||||
{"id": first_id, "name": "unknown"},
|
||||
102,
|
||||
"You don't own the document unknown.",
|
||||
"you don't own the document unknown",
|
||||
),
|
||||
(
|
||||
"name+id unknown id",
|
||||
f"/datasets/{dataset_id}/documents",
|
||||
{"id": "id", "name": "ragflow_test_upload_0.txt"},
|
||||
102,
|
||||
"You don't own the document id.",
|
||||
"you don't own the document id",
|
||||
),
|
||||
(
|
||||
"run invalid",
|
||||
|
||||
Reference in New Issue
Block a user