def setUp(self): super(CopyRemoteDirectoryToLocalTest, self).setUp() # Clear and create temporary directory on device. self.device_temp_dir = constants.DEVICE_TMP_DIR adb.remove_directory(self.device_temp_dir, recreate=True) # Create local temp directory. self.local_temp_dir = tempfile.mkdtemp()
def setUp(self): """Setup for set options test.""" super(SetOptionsTest, self).setUp() test_helpers.patch(self, ['clusterfuzz._internal.metrics.logs.log_error']) if settings.get_sanitizer_tool_name(): self.skipTest('This test is not applicable on a system sanitizer build.') # Clear and create temporary directory on device. self.device_temp_dir = constants.DEVICE_TMP_DIR adb.remove_directory(self.device_temp_dir, recreate=True)
def tearDown(self): adb.remove_directory(self.device_temp_dir) shell.remove_directory(self.local_temp_dir)
def tearDown(self): adb.remove_directory(self.device_temp_dir)
def setUp(self): super(WriteDataToFileTest, self).setUp() # Clear and create temporary directory on device. self.device_temp_dir = constants.DEVICE_TMP_DIR adb.remove_directory(self.device_temp_dir, recreate=True)