feat(douyu): 落地账号平台同步与登录配额
This commit is contained in:
@@ -117,8 +117,11 @@ def test_sync_stores_time_window_and_next_boundary(db):
|
||||
assert state.availability == "limited"
|
||||
assert state.time_limited is True
|
||||
assert state.available_until == end_at
|
||||
assert state.valid_until == end_at
|
||||
assert state.next_check_at == end_at
|
||||
assert state.schedule_json
|
||||
assert state.raw_json["timeLimited"] == 1
|
||||
assert state.raw_json["specTimes"][0]["endTime"] == str(int(end_at.timestamp()))
|
||||
|
||||
|
||||
def test_sync_account_goods_states_writes_capabilities_and_exchange_stats(db):
|
||||
|
||||
Reference in New Issue
Block a user