Home
last modified time | relevance | path

Searched refs:call_args_list (Results 1 – 25 of 46) sorted by relevance

12

/external/toolchain-utils/crosperf/
Dschedv2_unittest.py140 self.assertEqual(len(reader.call_args_list[0][0][1]), 4)
141 self.assertEqual(len(reader.call_args_list[1][0][1]), 4)
142 self.assertEqual(len(reader.call_args_list[2][0][1]), 4)
143 self.assertEqual(len(reader.call_args_list[3][0][1]), 4)
144 self.assertEqual(len(reader.call_args_list[4][0][1]), 2)
156 self.assertEqual(len(reader.call_args_list[0][0][1]), 4)
157 self.assertEqual(len(reader.call_args_list[1][0][1]), 4)
158 self.assertEqual(len(reader.call_args_list[2][0][1]), 4)
159 self.assertEqual(len(reader.call_args_list[3][0][1]), 4)
171 self.assertEqual(len(reader.call_args_list[0][0][1]), 3)
[all …]
Dsuite_runner_unittest.py217 self.assertEqual(mock_cros_runcmd.call_args_list[0][0],
219 args_list = mock_chroot_runcmd.call_args_list[0][0]
220 args_dict = mock_chroot_runcmd.call_args_list[0][1]
251 self.assertEqual(mock_cros_runcmd.call_args_list[0][0],
253 args_list = mock_chroot_runcmd.call_args_list[0][0]
254 args_dict = mock_chroot_runcmd.call_args_list[0][1]
290 args_list = mock_runcmd.call_args_list[0][0]
291 args_dict = mock_runcmd.call_args_list[0][1]
295 args_list = mock_runcmd.call_args_list[1][0]
Ddownload_images_unittest.py124 self.assertEqual(len(mock_cmd_exec.RunCommand.call_args_list[0]), 2)
125 actual_arg = mock_cmd_exec.RunCommand.call_args_list[0][0]
133 except_handler_string in repr(mock_cmd_exec.RunCommand.call_args_list[0]
137 self.assertEqual(len(mock_cmd_exec.RunCommand.call_args_list[1]), 2)
138 actual_arg = mock_cmd_exec.RunCommand.call_args_list[1][0]
144 self.assertTrue('{}' in repr(mock_cmd_exec.RunCommand.call_args_list[1][1]))
Dresults_cache_unittest.py522 first_args = mock_copyfiles.call_args_list[0][0]
523 second_args = mock_copyfiles.call_args_list[1][0]
524 third_args = mock_copyfiles.call_args_list[2][0]
536 self.assertEqual(mock_runcmd.call_args_list[0],
537 mock_runcmd.call_args_list[1])
538 self.assertEqual(mock_runcmd.call_args_list[0],
539 mock_runcmd.call_args_list[2])
540 self.assertEqual(mock_runcmd.call_args_list[0][0], ('mkdir -p /tmp/test',))
565 self.assertEqual(len(mockCopyFilesTo.call_args_list), 3)
566 self.assertEqual(mockCopyFilesTo.call_args_list[0][0],
[all …]
Dsettings_unittest.py209 self.assertEqual(mock_run.call_args_list[0][0], (
222 mock_run.call_args_list[0][0],
230 mock_run.call_args_list[0][0],
Dexperiment_runner_unittest.py459 self.assertEqual(len(mock_writefile.call_args_list), 3)
460 first_args = mock_writefile.call_args_list[0]
461 second_args = mock_writefile.call_args_list[1]
487 self.assertEqual(mock_top_commands.call_args_list, topcalls)
Dmachine_manager_unittest.py719 self.assertEqual(mock_md5sum.call_args_list[0][0][0],
721 self.assertEqual(mock_md5sum.call_args_list[1][0][0], 'machine_id1')
743 first_args = mock_run_cmd.call_args_list[0]
744 second_args = mock_run_cmd.call_args_list[1]
771 call_args = mock_run_cmd.call_args_list[0]
791 call_args = mock_run_cmd.call_args_list[0]
/external/toolchain-utils/llvm_tools/
Dbisect_clang_crashes_unittest.py57 self.assertEqual(mock_file_check.call_args_list[0], mock.call('a.sh'))
58 self.assertEqual(mock_file_check.call_args_list[1], mock.call('b.sh'))
59 self.assertEqual(mock_file_check.call_args_list[2], mock.call('c.sh'))
82 self.assertEqual(mock_file_check.call_args_list[0], mock.call('a.sh'))
83 self.assertEqual(mock_file_check.call_args_list[1], mock.call('b.sh'))
84 self.assertEqual(mock_file_check.call_args_list[2], mock.call('c.sh'))
Dupdate_packages_and_run_tests_unittest.py372 self.assertEqual(mock_exec_cmd.call_args_list[0],
374 self.assertEqual(mock_exec_cmd.call_args_list[1],
402 self.assertEqual(mock_exec_cmd.call_args_list[0],
404 self.assertEqual(mock_exec_cmd.call_args_list[1],
406 self.assertEqual(mock_exec_cmd.call_args_list[2],
442 self.assertEqual(mock_exec_cmd.call_args_list[0],
444 self.assertEqual(mock_exec_cmd.call_args_list[1],
Dupdate_chromeos_llvm_hash_unittest.py270 self.assertEqual(mock_command_output.call_args_list[0],
274 self.assertEqual(mock_command_output.call_args_list[1],
278 self.assertEqual(mock_command_output.call_args_list[2],
282 self.assertEqual(mock_command_output.call_args_list[3],
310 self.assertEqual(mock_command_output.call_args_list[0],
314 self.assertEqual(mock_command_output.call_args_list[1],
318 self.assertEqual(mock_command_output.call_args_list[2],
322 self.assertEqual(mock_command_output.call_args_list[3],
Dgit_unittest.py123 self.assertEqual(mock_commands.call_args_list[0],
131 mock_commands.call_args_list[1],
Dupload_lexan_crashes_to_forcey_test.py66 self.assertEqual(submit_test_case_mock.call_args_list, [
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Dbase_config_unittest.py271 uploader_cs_mock.Insert.call_args_list)
273 uploader_cs_mock.Exists.call_args_list)
275 uploader_cs_mock.Copy.call_args_list)
277 uploader_cs_mock.Delete.call_args_list)
319 uploader_cs_mock.Insert.call_args_list)
321 uploader_cs_mock.Exists.call_args_list)
323 uploader_cs_mock.Copy.call_args_list)
325 uploader_cs_mock.Delete.call_args_list)
361 uploader_cs_mock.Insert.call_args_list)
363 uploader_cs_mock.Exists.call_args_list)
[all …]
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_tooltip.py32 wrapped_func.call_args_list.append((args, kwargs))
34 wrapped_func.call_args_list = []
109 self.assertGreater(len(tooltip.showtip.call_args_list), 0)
141 self.assertGreater(len(tooltip1.showtip.call_args_list), 0)
145 self.assertEqual(tooltip2.showtip.call_args_list, [])
157 self.assertGreater(len(tooltip.showtip.call_args_list), 0)
/external/chromium-trace/catapult/devil/devil/android/
Dmd5sum_test.py88 self.assertEquals(1, len(device.RunShellCommand.call_args_list))
111 self.assertEquals(1, len(device.RunShellCommand.call_args_list))
133 self.assertEquals(1, len(device.RunShellCommand.call_args_list))
154 self.assertEquals(1, len(device.RunShellCommand.call_args_list))
175 self.assertEquals(1, len(device.RunShellCommand.call_args_list))
201 self.assertEquals(3, len(device.RunShellCommand.call_args_list))
/external/autotest/server/cros/crosperf/
Ddevice_setup_utils_unittest.py467 mock_run_command.call_args_list)
475 mock_run_command.call_args_list)
548 mock_run_command.call_args_list)
555 mock_run_command.call_args_list)
562 mock_run_command.call_args_list)
572 self.assertNotRegexpMatches(mock_run_command.call_args_list[0][0][1],
/external/python/cpython3/Lib/unittest/test/testmock/
Dtesthelpers.py263 self.assertEqual(mock.call_args_list,
287 self.assertEqual(mock.call_args_list, [call(1, 2, a=3, b=4)])
1024 self.assertIsInstance(mock.call_args_list, _CallList)
1032 self.assertIn(kall, mock.call_args_list)
1035 self.assertIn(calls, mock.call_args_list)
1037 self.assertIn(calls, mock.call_args_list)
1039 self.assertIn(calls, mock.call_args_list)
1041 self.assertIn(calls, mock.call_args_list)
1043 self.assertNotIn(call('fish'), mock.call_args_list)
1044 self.assertNotIn([call('fish')], mock.call_args_list)
/external/python/mock/mock/tests/
Dtesthelpers.py254 self.assertEqual(mock.call_args_list,
278 self.assertEqual(mock.call_args_list, [call(1, 2, a=3, b=4)])
1070 self.assertIsInstance(mock.call_args_list, _CallList)
1078 self.assertIn(kall, mock.call_args_list)
1081 self.assertIn(calls, mock.call_args_list)
1083 self.assertIn(calls, mock.call_args_list)
1085 self.assertIn(calls, mock.call_args_list)
1087 self.assertIn(calls, mock.call_args_list)
1089 self.assertNotIn(call('fish'), mock.call_args_list)
1090 self.assertNotIn([call('fish')], mock.call_args_list)
/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/
Dsimulation_unittest.py102 self.assertGreaterEqual(len(ap_wrapper.Run.call_args_list),
104 self.assertGreaterEqual(len(evaluator.Run.call_args_list),
Dinput_mixer_unittest.py144 logging.warning.call_args_list)
/external/chromium-trace/catapult/devil/devil/android/sdk/
Dshared_prefs_test.py158 self.assertEquals(self.device.WriteFile.call_args_list, []) # did not write
187 self.assertEquals(self.device.WriteFile.call_args_list, []) # did not write
/external/tensorflow/tensorflow/python/tpu/client/
Dclient_test.py801 paths = [call[0][0].full_url for call in urlopen.call_args_list]
811 paths = [call[0][0].full_url for call in urlopen.call_args_list]
827 paths = [call[0][0].full_url for call in urlopen.call_args_list]
/external/chromium-trace/catapult/common/py_utils/py_utils/
Dretry_util_unittest.py45 self.time_sleep.call_args_list,
/external/toolchain-utils/cros_utils/
Ddevice_setup_utils_unittest.py435 self.dw.RunCommandOnDut.call_args_list[2],
440 self.dw.RunCommandOnDut.call_args_list[4],
452 self.assertNotRegex(self.dw.RunCommandOnDut.call_args_list[0][0][0],
/external/python/cpython3/Lib/test/
Dtest_getpass.py32 environ.get.call_args_list,

12