示例#1
0
async def test_should_update_on_updater_from_api():
    updater = octobot_api.get_updater()
    assert not (await updater.should_be_updated())
示例#2
0
 async def fetch_upgrade_version():
     updater = octobot_api.get_updater()
     return await updater.get_latest_version(
     ) if updater and await updater.should_be_updated() else None
示例#3
0
async def test_create_updater_from_api():
    updater = octobot_api.get_updater()