fix: 令牌不再走 query(白名单除外)、订阅额度发成功才扣、测试临时目录移出仓库、kpt 外置 json、README 产品优先

This commit is contained in:
agent
2026-11-18 20:31:09 +08:00
parent 9348d5ad81
commit 1aaff9f679
17 changed files with 1709 additions and 24 deletions
+3 -1
View File
@@ -15,13 +15,15 @@ from threading import Thread
ROOT = Path(__file__).resolve().parent.parent
sys.path.insert(0, str(ROOT))
sys.path.insert(0, str(Path(__file__).resolve().parent)) # tests/ 自己
from _tmpdir import workdir as _workdir # noqa: E402
from http.server import ThreadingHTTPServer # noqa: E402
from junior import app as japp # noqa: E402
from junior import db as dbm # noqa: E402
TMP = Path(__file__).resolve().parent / "_tmp_junior_smoke"
TMP = _workdir("junior_smoke")
BASE = None
PASS = 0
FAIL = 0