feat(douyu): 整合自动化中心并修复重登队列
This commit is contained in:
@@ -550,6 +550,7 @@ class TestAutomationApi(_Base):
|
||||
assert payload["scheduler"]["running"] is False
|
||||
keys = [item["key"] for item in payload["jobs"]]
|
||||
assert ck_health.JOB_KEY in keys
|
||||
assert "account_overview_refresh" not in keys
|
||||
job = next(item for item in payload["jobs"] if item["key"] == ck_health.JOB_KEY)
|
||||
assert job["enabled"] is False
|
||||
assert job["interval_seconds"] == 6 * 3600
|
||||
|
||||
Reference in New Issue
Block a user