mirror of
https://github.com/langgenius/dify.git
synced 2026-01-27 06:02:10 +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
|
||||
|
||||
import pytest
|
||||
from flask import Flask
|
||||
from werkzeug.datastructures import FileStorage
|
||||
|
||||
from configs import dify_config
|
||||
@ -321,6 +320,7 @@ class TestAnnotationImportTaskOptimization:
|
||||
# Soft limit should be 5 minutes (300s)
|
||||
# Note: actual values depend on Celery configuration
|
||||
|
||||
|
||||
class TestConfigurationValues:
|
||||
"""Test that security configuration values are properly set."""
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user