Home
last modified time | relevance | path

Searched refs:side_effect (Results 1 – 8 of 8) sorted by relevance

/test/vts/utils/python/gcs/
Dgcs_api_utils_test.py78 side_effect=simple_ListFilesWithPrefix)
81 side_effect=simple__init__)
91 side_effect=simple_ListFilesWithPrefix)
94 side_effect=simple__init__)
103 @mock.patch('os.path.exists', side_effect=simple_os_path_exists)
106 side_effect=simple__init__)
117 side_effect=simple_DownloadFile)
120 side_effect=simple_PrefixExists)
123 side_effect=simple_ListFilesWithPrefix)
126 side_effect=simple_PrepareDownloadDestination)
[all …]
Dgcs_utils_test.py52 side_effect=simple_GetGcloudPath)
55 side_effect=simple_ExecuteOneShellCommand)
67 side_effect=simple_ExecuteOneShellCommand)
76 side_effect=simple_ExecuteOneShellCommand)
/test/framework/harnesses/host_controller/command_processor/
Dcommand_upload_test.py30 def side_effect(value): function
50 mock_console.FormatString.side_effect = side_effect
134 mock_console.FormatString.side_effect = side_effect
214 mock_console.FormatString.side_effect = side_effect
261 mock_console.FormatString.side_effect = side_effect
284 mock_console.FormatString.side_effect = side_effect
300 mock_console.FormatString.side_effect = side_effect
Dcommand_device_test.py52 mock_cmd_utils.ExecuteOneShellCommand.side_effect = cmd_util_side_effect
76 mock_cmd_utils.ExecuteOneShellCommand.side_effect = cmd_util_side_effect
88 mock_cmd_utils.ExecuteOneShellCommand.side_effect = cmd_util_side_effect
Dcommand_reproduce_test.py71 mock_campiagn.EmitFetchCommands.side_effect = emit_fetch_commands
72 mock_campiagn.EmitFlashCommands.side_effect = emit_flash_commands
/test/framework/harnesses/host_controller/
Dinvocation_thread_test.py77 self._remote_client.SendOperation.side_effect = (
87 self._remote_client.SendOperation.side_effect = (
101 self._remote_client.SendOperation.side_effect = (
116 self._remote_client.WaitForCommandResult.side_effect = (
Dtfc_host_controller_test.py72 mock_run.side_effect = lambda: run_event.wait()
/test/vts/utils/python/reporting/
Dreport_file_utils_test.py157 @mock.patch('tempfile.mkdtemp', side_effect=simple_tempfile_mkdtemp)
173 side_effect=simple_PushReportFileGcs)
174 @mock.patch('os.walk', side_effect=simple_os_walk)