fix reservation fansclub prejoin timing
This commit is contained in:
1 parent
ffebc8d0dc
commit
164f76658c
3 files changed
+69
-4
No files matched your search
@@ -167,3 +167,11 @@ class TestReservationPrejoinFansclub:
|
||||
|
||||
delay_args = [c.args[0] for c in a.operation.delay.call_args_list]
|
||||
assert delay_args == [0.2, 0.3]
|
||||
|
||||
def test_fast_prejoin_default_delays_wait_for_join_page_and_result(self):
|
||||
a = _mk_analyser(auto_join_fansclub=True)
|
||||
|
||||
handle_reservation_prejoin_fansclub(a, "加入直播粉丝团并关注主播")
|
||||
|
||||
delay_args = [c.args[0] for c in a.operation.delay.call_args_list]
|
||||
assert delay_args == [1.2, 1.6]
|
||||
Reference in new issue
Block a user