async def METHOD_NAME(init_scheduler):
    from nonebot_plugin_saa import TargetQQGroup
    from nonebot_bison.config import config
    from nonebot_bison.types import Target as T_Target
    from nonebot_bison.config.db_config import WeightConfig
    from nonebot_bison.scheduler.manager import init_scheduler
    from nonebot_bison.platform.bilibili import BilibiliSchedConf
    await config.add_subscribe(TargetQQGroup(group_id=123), T_Target("t1"), "target1", "bilibili", [], [])
    await config.add_subscribe(TargetQQGroup(group_id=123), T_Target("t2"), "target1", "bilibili", [], [])
    await config.add_subscribe(TargetQQGroup(group_id=123), T_Target("t2"), "target1", "bilibili-live", [], [])
    await config.update_time_weight_config(T_Target("t2"), "bilibili", WeightConfig(default=20, time_config=[]))
    await config.update_time_weight_config(T_Target("t2"), "bilibili-live", WeightConfig(default=30, time_config=[]))
    await init_scheduler()
    static_res = await get_schedule_times(BilibiliSchedConf, 6)
    assert static_res["bilibili-t1"] == 1
    assert static_res["bilibili-t2"] == 2
    assert static_res["bilibili-live-t2"] == 3
    static_res = await get_schedule_times(BilibiliSchedConf, 6)
    assert static_res["bilibili-t1"] == 1
    assert static_res["bilibili-t2"] == 2
    assert static_res["bilibili-live-t2"] == 3