mirror of
https://github.com/langgenius/dify.git
synced 2026-05-02 16:38:04 +08:00
test: align file preview mimetype expectation (#32688)
This commit is contained in:
@ -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()
|
||||
|
||||
Reference in New Issue
Block a user