예제 #1
0
	def tearDown(self):
		u.tearDown()
		# clear date
		self._clearDate('/sdcard/DCIM/Camera/*')
		self._clearDate('/sdcard/smartisan/Recorder/*')
		# kill recorder
		recorderPID = u.getPID('com.smartisanos.recorder')
		if recorderPID == '':
			pass
		else:
			commands.getoutput('adb shell kill %s'%recorderPID)
예제 #2
0
	def tearDown(self):
		u.tearDown()
예제 #3
0
	def tearDown(self):
		self._clearCache()
		u.tearDown()
		commands.getoutput('adb shell svc wifi enable')
		self._clearData('/sdcard/Download/*')
예제 #4
0
	def tearDown(self):
		self._clearCache()
		u.tearDown()
		self._clearData('/sdcard/Download/*')
예제 #5
0
	def tearDown(self):
		d.watchers.remove("IGNORE_DRAFT")
		u.tearDown()
예제 #6
0
	def tearDown(self):
		if d(resourceId = 'com.smartisanos.appstore:id/appStatusIconView').wait.exists(timeout = 3000):
			d(resourceId = 'com.smartisanos.appstore:id/appStatusIconView').click.wait()
		u.tearDown()
예제 #7
0
	def tearDown(self):
		d.watchers.remove("IGNORE_ANR")
		u.tearDown()
예제 #8
0
 def tearDown(self):
     util.tearDown(self)