From a99e70d96e1c323a6bf839e5d6f0492a83b11186 Mon Sep 17 00:00:00 2001 From: hjlarry Date: Sat, 17 Jan 2026 15:55:27 +0800 Subject: [PATCH] fix CI --- api/tests/integration_tests/conftest.py | 2 +- api/tests/test_containers_integration_tests/conftest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/tests/integration_tests/conftest.py b/api/tests/integration_tests/conftest.py index 948cf8b3a0..7ff56eee91 100644 --- a/api/tests/integration_tests/conftest.py +++ b/api/tests/integration_tests/conftest.py @@ -38,7 +38,7 @@ os.environ["OPENDAL_FS_ROOT"] = "/tmp/dify-storage" os.environ.setdefault("STORAGE_TYPE", "opendal") os.environ.setdefault("OPENDAL_SCHEME", "fs") -_CACHED_APP = create_app() +_SIO_APP, _CACHED_APP = create_app() @pytest.fixture diff --git a/api/tests/test_containers_integration_tests/conftest.py b/api/tests/test_containers_integration_tests/conftest.py index d6d2d30305..b67b48947c 100644 --- a/api/tests/test_containers_integration_tests/conftest.py +++ b/api/tests/test_containers_integration_tests/conftest.py @@ -364,7 +364,7 @@ def _create_app_with_containers() -> Flask: # Create and configure the Flask application logger.info("Initializing Flask application...") - app = create_app() + sio_app, app = create_app() logger.info("Flask application created successfully") # Initialize database schema