mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-09-05 23:47:41 +08:00
test: 隔离单测中的站点原生资源 (#6452)
* test: isolate native site resources * refactor(test): retain sites stub helper contract * fix(test): preserve sites stub probe imports --------- Co-authored-by: jxxghp <jxxghp@gmail.com>
This commit is contained in:
@@ -71,7 +71,7 @@ IDENTITY_INDEX_SIGNATURES = {
|
||||
CURRENT_SCHEMA_CHAIN_SCRIPT = """
|
||||
from app.testing.bootstrap import ensure_sites_stub
|
||||
|
||||
# Alembic 会导入引用业务链的旧 revision;全新 CI 环境没有动态下发的 sites 模块。
|
||||
# Alembic 会导入引用业务链的旧 revision,迁移验证不应加载本机站点原生制品。
|
||||
ensure_sites_stub()
|
||||
|
||||
from alembic.config import Config
|
||||
|
||||
Reference in New Issue
Block a user