fix: 令牌不再走 query(白名单除外)、订阅额度发成功才扣、测试临时目录移出仓库、kpt 外置 json、README 产品优先
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user