Home
last modified time | relevance | path

Searched refs:mock_gcs_util (Results 1 – 2 of 2) sorted by relevance

/test/framework/harnesses/host_controller/command_processor/
Dcommand_reproduce_test.py230 mock_gcs_util): argument
236 mock_gcs_util.List.return_value = [
247 def testGetResultFromGCS(self, mock_zipfile, mock_os, mock_gcs_util): argument
257 mock_gcs_util.List.return_value = [
260 mock_gcs_util.Copy.return_value = True
273 def testCommandReproduceGsutilAbsent(self, mock_logging, mock_gcs_util): argument
274 mock_gcs_util.GetGsutilPath.return_value = ""
284 def testCommandReproduceInvalidURL(self, mock_logging, mock_gcs_util): argument
285 mock_gcs_util.GetGsutilPath.return_value = "/mock_bin/gsutil"
298 mock_gcs_util): argument
[all …]
Dcommand_upload_test.py228 def testCommandUploadGsutilAbsent(self, mock_logger, mock_gcs_util, argument
230 mock_gcs_util.GetGsutilPath.return_value = ""
242 def testCommandUploadLatestSrc(self, mock_logger, mock_gcs_util, argument
244 mock_gcs_util.GetGsutilPath.return_value = "/path/to/bin/gsutil"
257 def testCommandUploadLatestLegitSrc(self, mock_os, mock_gcs_util, argument
262 mock_gcs_util.GetGsutilPath.return_value = "/path/to/bin/gsutil"
270 mock_gcs_util.Remove.assert_called_with(
272 mock_gcs_util.Copy.assert_called_with('/path/to/bin/gsutil',
280 def testCommandUploadFalseDest(self, mock_logger, mock_os, mock_gcs_util, argument
285 mock_gcs_util.GetGsutilPath.return_value = "/path/to/bin/gsutil"
[all …]