/external/toolchain-utils/crosperf/ |
D | schedv2_unittest.py | 133 self.assertEquals(len(reader.call_args_list[0][0][1]), 4) 134 self.assertEquals(len(reader.call_args_list[1][0][1]), 4) 135 self.assertEquals(len(reader.call_args_list[2][0][1]), 4) 136 self.assertEquals(len(reader.call_args_list[3][0][1]), 4) 137 self.assertEquals(len(reader.call_args_list[4][0][1]), 2) 149 self.assertEquals(len(reader.call_args_list[0][0][1]), 4) 150 self.assertEquals(len(reader.call_args_list[1][0][1]), 4) 151 self.assertEquals(len(reader.call_args_list[2][0][1]), 4) 152 self.assertEquals(len(reader.call_args_list[3][0][1]), 4) 164 self.assertEquals(len(reader.call_args_list[0][0][1]), 3) [all …]
|
D | results_cache_unittest.py | 231 first_args = mock_copyfiles.call_args_list[0][0] 232 second_args = mock_copyfiles.call_args_list[1][0] 233 third_args = mock_copyfiles.call_args_list[2][0] 245 self.assertEqual(mock_runcmd.call_args_list[0], 246 mock_runcmd.call_args_list[1]) 247 self.assertEqual(mock_runcmd.call_args_list[0], 248 mock_runcmd.call_args_list[2]) 249 self.assertEqual(mock_runcmd.call_args_list[0][0], ('mkdir -p /tmp/test',)) 270 self.assertEqual(len(mockCopyFilesTo.call_args_list), 2) 271 self.assertEqual(mockCopyFilesTo.call_args_list[0][0], ('/tmp/results/', [all …]
|
D | download_images_unittest.py | 120 self.assertEqual(len(mock_cmd_exec.RunCommand.call_args_list[0]), 2) 121 actual_arg = mock_cmd_exec.RunCommand.call_args_list[0][0] 130 mock_cmd_exec.RunCommand.call_args_list[0][1])) 133 self.assertEqual(len(mock_cmd_exec.RunCommand.call_args_list[1]), 2) 134 actual_arg = mock_cmd_exec.RunCommand.call_args_list[1][0] 140 self.assertTrue('{}' in repr(mock_cmd_exec.RunCommand.call_args_list[1][1]))
|
D | suite_runner_unittest.py | 168 cmd = mock_cros_runcmd.call_args_list[0][0] 199 self.assertEqual(mock_cros_runcmd.call_args_list[0][0], 236 self.assertEqual(mock_cros_runcmd.call_args_list[0][0], 238 args_list = mock_chroot_runcmd.call_args_list[0][0] 239 args_dict = mock_chroot_runcmd.call_args_list[0][1] 263 args_list = mock_chroot_runcmd.call_args_list[0][0] 264 args_dict = mock_chroot_runcmd.call_args_list[0][1] 333 mock_runcmd.call_args_list[0][0],
|
D | settings_unittest.py | 204 self.assertEqual(mock_run.call_args_list[0][0], 212 self.assertEqual(mock_run.call_args_list[0][0], 219 self.assertEqual(mock_run.call_args_list[0][0],
|
D | machine_manager_unittest.py | 718 self.assertEqual(mock_md5sum.call_args_list[0][0][0], 720 self.assertEqual(mock_md5sum.call_args_list[1][0][0], 'machine_id1') 742 first_args = mock_run_cmd.call_args_list[0] 743 second_args = mock_run_cmd.call_args_list[1] 770 call_args = mock_run_cmd.call_args_list[0] 790 call_args = mock_run_cmd.call_args_list[0]
|
D | experiment_runner_unittest.py | 441 self.assertEqual(len(mock_writefile.call_args_list), 3) 442 first_args = mock_writefile.call_args_list[0] 443 second_args = mock_writefile.call_args_list[1]
|
/external/chromium-trace/catapult/dependency_manager/dependency_manager/ |
D | base_config_unittest.py | 271 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/ |
D | test_tooltip.py | 28 wrapped_func.call_args_list.append((args, kwargs)) 30 wrapped_func.call_args_list = [] 102 self.assertGreater(len(tooltip.showtip.call_args_list), 0) 116 self.assertGreater(len(tooltip.showtip.call_args_list), 0) 128 self.assertGreater(len(tooltip.showtip.call_args_list), 0) 142 self.assertEqual(tooltip.showtip.call_args_list, [])
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | md5sum_test.py | 115 self.assertEquals(1, len(device.RunShellCommand.call_args_list)) 138 self.assertEquals(1, len(device.RunShellCommand.call_args_list)) 162 self.assertEquals(1, len(device.RunShellCommand.call_args_list)) 184 self.assertEquals(1, len(device.RunShellCommand.call_args_list)) 204 self.assertEquals(1, len(device.RunShellCommand.call_args_list)) 230 self.assertEquals(3, len(device.RunShellCommand.call_args_list))
|
/external/tensorflow/tensorflow/contrib/learn/python/learn/datasets/ |
D | base_test.py | 40 actual_list = [arg[0][0] for arg in mock_time.sleep.call_args_list] 61 actual_list = [arg[0][0] for arg in mock_time.sleep.call_args_list]
|
/external/python/mock/mock/tests/ |
D | testhelpers.py | 241 self.assertEqual(mock.call_args_list, 265 self.assertEqual(mock.call_args_list, [call(1, 2, a=3, b=4)]) 893 self.assertIsInstance(mock.call_args_list, _CallList) 901 self.assertIn(kall, mock.call_args_list) 904 self.assertIn(calls, mock.call_args_list) 906 self.assertIn(calls, mock.call_args_list) 908 self.assertIn(calls, mock.call_args_list) 910 self.assertIn(calls, mock.call_args_list) 912 self.assertNotIn(call('fish'), mock.call_args_list) 913 self.assertNotIn([call('fish')], mock.call_args_list)
|
D | testmock.py | 86 self.assertEqual(mock.call_args_list, [], 249 self.assertEqual(mock.call_args_list, [], "call_args_list not reset") 293 self.assertEqual(mock.call_args_list, [((sentinel.Arg,), {})], 305 self.assertEqual(mock.call_args_list, [ 318 self.assertEqual(mock.call_args_list, [ 1016 for expected, call_args in zip(expected_list, mock.call_args_list):
|
/external/python/cpython3/Lib/unittest/test/testmock/ |
D | testhelpers.py | 239 self.assertEqual(mock.call_args_list, 263 self.assertEqual(mock.call_args_list, [call(1, 2, a=3, b=4)]) 938 self.assertIsInstance(mock.call_args_list, _CallList) 946 self.assertIn(kall, mock.call_args_list) 949 self.assertIn(calls, mock.call_args_list) 951 self.assertIn(calls, mock.call_args_list) 953 self.assertIn(calls, mock.call_args_list) 955 self.assertIn(calls, mock.call_args_list) 957 self.assertNotIn(call('fish'), mock.call_args_list) 958 self.assertNotIn([call('fish')], mock.call_args_list)
|
D | testmock.py | 62 self.assertEqual(mock.call_args_list, [], 225 self.assertEqual(mock.call_args_list, [], "call_args_list not reset") 269 self.assertEqual(mock.call_args_list, [((sentinel.Arg,), {})], 281 self.assertEqual(mock.call_args_list, [ 294 self.assertEqual(mock.call_args_list, [ 1155 for expected, call_args in zip(expected_list, mock.call_args_list):
|
/external/autotest/client/common_lib/cros/ |
D | gs_cache_client_unittest.py | 132 self.assertListEqual(self.api.extract.call_args_list, expected_calls) 150 self.assertListEqual(self.api.extract.call_args_list, expected_calls)
|
/external/chromium-trace/catapult/devil/devil/android/sdk/ |
D | shared_prefs_test.py | 152 self.assertEquals(self.device.WriteFile.call_args_list, []) # did not write 181 self.assertEquals(self.device.WriteFile.call_args_list, []) # did not write
|
/external/chromium-trace/catapult/common/py_utils/py_utils/ |
D | retry_util_unittest.py | 45 self.time_sleep.call_args_list,
|
/external/tensorflow/tensorflow/python/util/ |
D | deprecation_test.py | 663 (args1, _) = mock_warning.call_args_list[0] 667 (args2, _) = mock_warning.call_args_list[1] 690 (args1, _) = mock_warning.call_args_list[0] 694 (args2, _) = mock_warning.call_args_list[1]
|
/external/v8/tools/unittests/ |
D | run_perf_test.py | 182 self.assertEquals(len(args), len(command.Command.call_args_list)) 183 for arg, actual in zip(args, command.Command.call_args_list):
|
/external/python/cpython3/Lib/test/ |
D | test_getpass.py | 32 environ.get.call_args_list,
|
/external/python/cpython3/Doc/library/ |
D | unittest.mock-examples.rst | 727 :attr:`~Mock.call_args_list`: 733 >>> mock.call_args_list 737 can build up a list of expected calls and compare it to ``call_args_list``. This 738 looks remarkably similar to the repr of the ``call_args_list``: 741 >>> mock.call_args_list == expected 749 mutable arguments. ``call_args`` and ``call_args_list`` store *references* to the 924 :data:`~Mock.call_args_list` to assert about how the dictionary was used: 976 >>> mock.__getitem__.call_args_list 978 >>> mock.__setitem__.call_args_list
|
/external/pdfium/third_party/pymock/ |
D | mock.py | 319 funcopy.call_args_list = _CallList() 591 call_args_list = _delegating_property('call_args_list') variable in NonCallableMock 618 self.call_args_list = _CallList() 888 if kall not in self.call_args_list: 963 self.call_args_list.append(_Call((args, kwargs), two=True))
|
/external/python/cpython2/Lib/test/ |
D | _mock_backport.py | 224 funcopy.call_args_list = _CallList() 503 call_args_list = _delegating_property('call_args_list') variable in NonCallableMock 534 self.call_args_list = _CallList() 842 actual = [self._call_matcher(c) for c in self.call_args_list] 922 self.call_args_list.append(_call)
|
/external/python/cpython3/Lib/unittest/ |
D | mock.py | 211 funcopy.call_args_list = _CallList() 507 call_args_list = _delegating_property('call_args_list') variable in NonCallableMock 545 self.call_args_list = _CallList() 885 actual = [self._call_matcher(c) for c in self.call_args_list] 971 self.call_args_list.append(_call)
|