feat: expand module workflows, dynamic config, notifications and console API
This commit is contained in:
@@ -54,7 +54,7 @@ def test_python_scheduler_status_is_project_owned_and_cross_platform(tmp_path: P
|
||||
assert exit_code == 0
|
||||
payload = json.loads(output.getvalue())
|
||||
assert payload["timezone"] == "Asia/Shanghai"
|
||||
assert payload["scheduled_count"] == 23
|
||||
assert payload["scheduled_count"] == 27
|
||||
assert payload["state"]["schema_version"] == 1
|
||||
|
||||
|
||||
@@ -70,5 +70,8 @@ def test_python_scheduler_dry_run_never_launches_or_writes_state(tmp_path: Path)
|
||||
assert exit_code == 0
|
||||
payload = json.loads(output.getvalue())
|
||||
assert payload["mode"] == "dry-run"
|
||||
assert "content.metrics.daily" in payload["due_or_started"]
|
||||
assert "content.metrics.backfill" not in payload["due_or_started"]
|
||||
assert "content.relogin.weekly" not in payload["due_or_started"]
|
||||
assert "product.market_rank" in payload["due_or_started"]
|
||||
assert not (settings.data_root / "state" / "scheduler" / "state.json").exists()
|
||||
|
||||
Reference in New Issue
Block a user