mirror of
https://github.com/langgenius/dify.git
synced 2026-05-02 15:17:39 +08:00
fix annotation import dos
This commit is contained in:
parent
a740fe2292
commit
c93f7f6f2c
@ -9,7 +9,6 @@ import io
|
|||||||
from unittest.mock import MagicMock, patch
|
from unittest.mock import MagicMock, patch
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
from flask import Flask
|
|
||||||
from werkzeug.datastructures import FileStorage
|
from werkzeug.datastructures import FileStorage
|
||||||
|
|
||||||
from configs import dify_config
|
from configs import dify_config
|
||||||
@ -321,6 +320,7 @@ class TestAnnotationImportTaskOptimization:
|
|||||||
# Soft limit should be 5 minutes (300s)
|
# Soft limit should be 5 minutes (300s)
|
||||||
# Note: actual values depend on Celery configuration
|
# Note: actual values depend on Celery configuration
|
||||||
|
|
||||||
|
|
||||||
class TestConfigurationValues:
|
class TestConfigurationValues:
|
||||||
"""Test that security configuration values are properly set."""
|
"""Test that security configuration values are properly set."""
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user