def test_check_upload_script(): # 检查脚本是否已上传到机器人 pt.upload_script(2, device, fileName)
def test_upload_script(): # 上传脚本到机器人 pt.upload_script(1, device, fileName, bytes(py_script_tts, encoding="utf-8"))
def test_stop_upload_script(): # 执行已上传的脚本 pt.upload_script(4, device)
def test_list_upload_script(): # 获取已上传的脚本列表 pt.upload_script(5, device)
def test_run_upload_script(): # 执行已上传的脚本 pt.upload_script(3, device, fileName)