### What problem does this PR solve? - Modify error message assertion in chunk update test to check for document ownership - Add GraphRAG configuration with `use_graphrag: False` in dataset update tests - Fix actions: https://github.com/infiniflow/ragflow/actions/runs/16863637898/job/47767511582 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)tags/v0.20.2
| with pytest.raises(Exception) as excinfo: | with pytest.raises(Exception) as excinfo: | ||||
| chunks[0].update({}) | chunks[0].update({}) | ||||
| assert f"Can't find this chunk {chunks[0].id}" in str(excinfo.value), str(excinfo.value) | |||||
| assert f"You don't own the document {chunks[0].document_id}" in str(excinfo.value), str(excinfo.value) |
| client, | client, | ||||
| { | { | ||||
| "raptor": {"use_raptor": False}, | "raptor": {"use_raptor": False}, | ||||
| "graphrag": {"use_graphrag": False}, | |||||
| }, | }, | ||||
| ) | ) | ||||
| dataset.update({"chunk_method": "qa"}) | dataset.update({"chunk_method": "qa"}) | ||||
| client, | client, | ||||
| { | { | ||||
| "raptor": {"use_raptor": False}, | "raptor": {"use_raptor": False}, | ||||
| "graphrag": {"use_graphrag": False}, | |||||
| }, | }, | ||||
| ) | ) | ||||
| dataset.update({"chunk_method": "qa", "parser_config": None}) | dataset.update({"chunk_method": "qa", "parser_config": None}) |