예제 #1
0
 def test_upgrade(self):
     flashops_control.set_savconf_disable(self)
     flashops_control.flash_upload(self,firmware)
     #点击刷写固件按钮
     flashops_control.flash_upgrade(self)
     flashops_control.flash_submit(self)
     time.sleep(3)
     #获取固件刷写进度条
     flashops_control.get_Progress(self)
     time.sleep(40)
예제 #2
0
 def test_rebakconf(self):
     flashops_control.set_bakconf(self,bakconfig)
     flashops_control.bakconf_upload(self)
     time.sleep(5)
     flashops_control.get_Progress(self)
     time.sleep(60)