Searched refs:side_effect (Results 1 – 8 of 8) sorted by relevance
78 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 …]
52 side_effect=simple_GetGcloudPath)55 side_effect=simple_ExecuteOneShellCommand)67 side_effect=simple_ExecuteOneShellCommand)76 side_effect=simple_ExecuteOneShellCommand)
30 def side_effect(value): function50 mock_console.FormatString.side_effect = side_effect134 mock_console.FormatString.side_effect = side_effect214 mock_console.FormatString.side_effect = side_effect261 mock_console.FormatString.side_effect = side_effect284 mock_console.FormatString.side_effect = side_effect300 mock_console.FormatString.side_effect = side_effect
52 mock_cmd_utils.ExecuteOneShellCommand.side_effect = cmd_util_side_effect76 mock_cmd_utils.ExecuteOneShellCommand.side_effect = cmd_util_side_effect88 mock_cmd_utils.ExecuteOneShellCommand.side_effect = cmd_util_side_effect
71 mock_campiagn.EmitFetchCommands.side_effect = emit_fetch_commands72 mock_campiagn.EmitFlashCommands.side_effect = emit_flash_commands
77 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 = (
72 mock_run.side_effect = lambda: run_event.wait()
157 @mock.patch('tempfile.mkdtemp', side_effect=simple_tempfile_mkdtemp)173 side_effect=simple_PushReportFileGcs)174 @mock.patch('os.walk', side_effect=simple_os_walk)