0717c09721
改动:新增厂商推送配置、设备 push_vendor/push_token 字段、device push-test 接口、心跳超时厂商直推发送逻辑和对应测试。 验证:python -m pytest tests/test_device_push.py tests/test_auth.py tests/test_health.py 通过。 --------- Co-authored-by: guke <guke@wonderable.ai> Co-authored-by: 左辰勇 <exinglang@gmail.com> Co-authored-by: lowmaster-chen <1119780489@qq.com> Reviewed-on: #118 Co-authored-by: Ghost <> Co-committed-by: Ghost <>
10 lines
502 B
Batchfile
10 lines
502 B
Batchfile
@echo off
|
|
REM Push test #3 withdraw_success (1 notification per run, random amount).
|
|
REM Works from ANY directory (locates project root + venv python by itself):
|
|
REM scripts\test_push_withdraw_success.bat
|
|
REM Extra args pass through, e.g.: test_push_withdraw_success.bat --cents 1280
|
|
REM ASCII-only comments: cmd parses .bat in the console codepage (GBK), UTF-8
|
|
REM Chinese here gets mangled into bogus commands.
|
|
cd /d "%~dp0.."
|
|
".venv\Scripts\python.exe" "scripts\test_push_withdraw_success.py" %*
|