Fix: optimize file batch delete (#14473)

### What problem does this PR solve?

optimize file batch delete

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
buua436
2026-04-30 11:00:39 +08:00
committed by GitHub
parent 811e9826d0
commit 47129fdd08
6 changed files with 85 additions and 29 deletions

View File

@@ -258,7 +258,7 @@ def test_delete_files_checks_team_permission(monkeypatch):
ok, message = _run(module.delete_files("tenant1", ["file1"]))
assert ok is False
assert message == "No authorization."
assert message == {"success_count": 0, "errors": ["No authorization for file file1"]}
@pytest.mark.p2