mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Fix: typo process_duration (#8696)
### What problem does this PR solve? Fix typo process_duration. ### Type of change - [x] Documentation Update - [x] Refactoring
This commit is contained in:
@ -45,7 +45,7 @@ def validate_document_details(dataset, document_ids):
|
||||
if document.id in document_ids:
|
||||
assert document.run == "DONE"
|
||||
assert len(document.process_begin_at) > 0
|
||||
assert document.process_duation > 0
|
||||
assert document.process_duration > 0
|
||||
assert document.progress > 0
|
||||
assert "Task done" in document.progress_msg
|
||||
|
||||
|
||||
@ -23,7 +23,7 @@ def validate_document_parse_done(dataset, document_ids):
|
||||
if document.id in document_ids:
|
||||
assert document.run == "DONE"
|
||||
assert len(document.process_begin_at) > 0
|
||||
assert document.process_duation > 0
|
||||
assert document.process_duration > 0
|
||||
assert document.progress > 0
|
||||
assert "Task done" in document.progress_msg
|
||||
|
||||
|
||||
@ -141,7 +141,7 @@ class TestDocumentsUpdated:
|
||||
marks=pytest.mark.skip(reason="issues/6104"),
|
||||
),
|
||||
pytest.param(
|
||||
{"process_duation": 1.0},
|
||||
{"process_duration": 1.0},
|
||||
"The input parameters are invalid",
|
||||
marks=pytest.mark.skip(reason="issues/6104"),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user