fix(douyu): 升级工作台任务流并修正换绑冷却
This commit is contained in:
@@ -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)"
|
||||
|
||||
Reference in New Issue
Block a user