fix(douyu): 升级工作台任务流并修正换绑冷却

This commit is contained in:
yml
2026-11-22 23:39:02 +08:00
parent 4b57f9b2a7
commit 8e01c3c69e
9 changed files with 343 additions and 113 deletions
+4
View File
@@ -129,6 +129,8 @@ def test_unbound_wait_time_is_not_a_real_cooldown():
assert derive_from_bind_info(parsed) == BIND_UNBOUND
assert snapshot["bind_confirmed"] is False
assert snapshot["change_role_wait_time"] == 0
assert snapshot["can_change_time"] is None
assert snapshot["is_change_cooling"] is False
assert is_role_change_cooling(parsed) is False
assert role_change_available_at(parsed) is None
@@ -152,6 +154,8 @@ def test_scanned_role_is_pending_until_act_bind():
assert snapshot["bind_phase"] == "role_ready"
assert snapshot["bind_ready_for_confirm"] is True
assert snapshot["bind_confirmed"] is False
assert snapshot["change_role_wait_time"] == 0
assert snapshot["can_change_time"] is None
assert snapshot["is_change_cooling"] is False
assert snapshot["role_name"] == "巫师基尔斯84"
assert snapshot["game_channel"] == "微信 / 苹果(iOS)"