Merge branch 'hugo-shipping-notice' into test

This commit is contained in:
hugo committed 2026-09-27 21:38:28 +08:00
commit e35f01bbe9
163 files changed
+21008 -2545

No files matched your search

+2
View File
@@ -759,6 +759,8 @@ class ProductionConfig(Config):
class TestingConfig(Config):
TESTING = True
SQLALCHEMY_DATABASE_URI = 'sqlite:///:memory:'
# 钉住测试 TTL 语义(陈旧行门禁用例按 600s 书写),不随开发者 .env.shared 漂移。
IN_TRANSIT_TRANSFER_CONFIRM_TTL_SECONDS = 600
WTF_CSRF_ENABLED = False
SQLALCHEMY_ENGINE_OPTIONS = {}
SCHEDULE_WORKER_ENABLED = False