fix: 加速间隔只决定发送频率,心跳仍按平台的一段学时申报
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user