feat: 后端支持托管到 Metrix,启动自动安装并接入平台登录

This commit is contained in:
2026-11-03 12:26:20 +08:00
parent 6b0ea1ed4a
commit c38e649904
12 changed files with 724 additions and 45 deletions
+1 -3
View File
@@ -9,9 +9,7 @@ from pathlib import Path
import pytest
from fastapi.testclient import TestClient
TEST_DATA = Path(__file__).resolve().parents[1] / "data" / "pytest"
os.environ["DECOM_DATA_DIR"] = str(TEST_DATA)
os.environ["DECOM_ALLOW_SQLITE"] = "1"
TEST_DATA = Path(os.environ["DECOM_DATA_DIR"])
from app.collect.io import parse_csv, write_csv # noqa: E402
from app.db import reset_engine # noqa: E402