test: align file preview mimetype expectation (#32688)

This commit is contained in:
-LAN-
2026-02-27 15:27:30 +08:00
committed by GitHub
parent 661af404e9
commit 149a7870bc
2 changed files with 4 additions and 4 deletions

View File

@ -107,7 +107,7 @@ class TestFilePreviewApi:
response = get_fn("file-id")
assert response.mimetype == "text/plain"
assert response.mimetype == "application/octet-stream"
assert response.headers["Content-Length"] == "100"
assert "Accept-Ranges" not in response.headers
mock_enforce.assert_called_once()