Searched refs:mock_console (Results 1 – 6 of 6) sorted by relevance
/test/framework/harnesses/host_controller/command_processor/ |
D | command_upload_test.py | 44 mock_console): argument 49 mock_console.vti_endpoint_client.CheckBootUpStatus.return_value = False 50 mock_console.FormatString.side_effect = side_effect 51 mock_console.fetch_info = { 57 mock_console.detailed_fetch_info = { 72 mock_console.tmp_logdir = "tmp/log" 73 mock_console.device_image_info = { 88 command._SetUp(mock_console) 128 mock_open, mock_console): argument 133 mock_console.vti_endpoint_client.CheckBootUpStatus.return_value = True [all …]
|
D | command_device_test.py | 47 def testUpdateDevice(self, mock_cmd_utils, mock_console): argument 49 command._SetUp(mock_console) 54 mock_console._vti_endpoint_client.UploadDeviceInfo.assert_called_with( 71 def testUpdateDeviceLeaseJob(self, mock_cmd_utils, mock_console): argument 73 command._SetUp(mock_console) 78 mock_console._job_in_queue.put.assert_called_with("lease") 82 def testUpdateDeviceFromJobPool(self, mock_cmd_utils, mock_console): argument 83 mock_console.GetSerials.return_value = ["device1", "device4"] 85 command._SetUp(mock_console) 90 mock_console._vti_endpoint_client.UploadDeviceInfo.assert_called_with( [all …]
|
D | command_repack_test.py | 36 def testGetDestURLWithoutGSI(self, mock_console): argument 37 mock_console.detailed_fetch_info = { 45 command._SetUp(mock_console) 53 def testGetDestURLWithGSI(self, mock_console): argument 54 mock_console.device_image_info = {common.GSI_ZIPFILE: ""} 55 mock_console.detailed_fetch_info = { 69 command._SetUp(mock_console) 79 def testRepackFullDeviceImageAbsent(self, mock_logger, mock_console): argument 80 mock_console.device_image_info = {} 82 command._SetUp(mock_console) [all …]
|
D | command_sheet_test.py | 184 mock_console = mock.Mock() 185 mock_console.FormatString = lambda x: x.replace("{suite_plan}", "vts") 186 self._cmd._SetUp(mock_console)
|
D | command_dut_test.py | 35 mock_console = mock.Mock() 36 mock_console.device_status = {} 37 self._command._SetUp(mock_console)
|
D | command_reproduce_test.py | 43 mock_console = mock.Mock() 45 self._command._SetUp(mock_console)
|