Beispiel #1
0
 def setUp(self):
     self._logger.info("_______________UI TestCase setUp_______________")
     '''
     Unlock the device
     '''
     self.phone._viewclient.dump()
     if(self.phone.getConfigItem('needunlock') =='1'):
         Helper.unlockDevice(self.phone)
         self.phone.sleep(2)
Beispiel #2
0
 def _tearDownForKeyguard(self):
     self.phone._logger.info("UITestCase: _tearDownForKeyguard: Deal with keyguard state")
     Helper.unlockDevice(self.phone)