完善采购审批流程、企业微信通知和采购专用章
This commit is contained in:
+4
-12
@@ -1,13 +1,5 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
import subprocess
|
||||
import sys
|
||||
"""Compatibility entry point; tests only use temporary databases."""
|
||||
from run_tests import main
|
||||
|
||||
PY = r"C:\Users\wps18\.workbuddy\binaries\python\envs\default\Scripts\python.exe"
|
||||
CWD = r"D:\2026-09-09-task-18\po_app"
|
||||
|
||||
p = subprocess.run([PY, "-c", "import app; print('IMPORT OK')"], cwd=CWD,
|
||||
capture_output=True, text=True, encoding="utf-8", errors="replace",
|
||||
timeout=60)
|
||||
print("RC", p.returncode)
|
||||
print("STDOUT:", p.stdout[-4000:])
|
||||
print("STDERR:", p.stderr[-4000:])
|
||||
if __name__ == "__main__":
|
||||
raise SystemExit(main(('-k', 'pages')))
|
||||
|
||||
Reference in New Issue
Block a user