fix: 加速间隔只决定发送频率,心跳仍按平台的一段学时申报

This commit is contained in:
2026-11-17 11:50:59 +08:00
parent 2cb6623ac4
commit 85e52b972c
2 changed files with 22 additions and 9 deletions
+7 -1
View File
@@ -539,8 +539,14 @@ def test_interval_plan_manual_one_second_uses_admin_wait() -> None:
"video", {"video": 1, "document": 1, "scorm": 1}, False, {"submitProTimes": 30, "pageSize": 1},
)
assert wait == 1
assert step == 1
assert step == 30
assert page == 1
wait, step, page = _interval_plan(
"document", {"document": 1}, False, {"validtimeSpan": 120, "pageSize": 12},
)
assert wait == 1
assert step == 120
assert page == 12
def test_wanted_account_without_credential_is_dropped() -> None: