Searched refs:autospec (Results 1 – 8 of 8) sorted by relevance
/external/autotest/site_utils/ |
D | deploy_server_local_unittest.py | 88 @mock.patch('subprocess.check_output', autospec=True) 108 @mock.patch('subprocess.check_output', autospec=True) 131 @mock.patch('subprocess.check_output', autospec=True) 142 @mock.patch('subprocess.check_output', autospec=True) 164 @mock.patch('subprocess.check_output', autospec=True) 193 @mock.patch('subprocess.check_call', autospec=True) 204 @mock.patch('subprocess.check_output', autospec=True) 214 @mock.patch.object(dsl, 'restart_service', autospec=True) 222 with mock.patch.object(dsl, 'service_status', autospec=True, 250 @mock.patch('subprocess.check_output', autospec=True) [all …]
|
D | gs_offloader_unittest.py | 1529 autospec=True) as upload: 1555 autospec=True) as upload, \ 1557 autospec=True) as get_cmd_list:
|
/external/autotest/frontend/afe/ |
D | rpc_utils_unittest.py | 106 @mock.patch.object(rpc_utils, 'bucket_hosts_by_shard', autospec=True) 115 @mock.patch.object(rpc_utils, 'bucket_hosts_by_shard', autospec=True) 123 @mock.patch.object(rpc_utils, 'bucket_hosts_by_shard', autospec=True) 131 @mock.patch.object(rpc_utils, 'bucket_hosts_by_shard', autospec=True)
|
/external/pdfium/third_party/pymock/ |
D | mock.py | 1118 spec_set, autospec, new_callable, kwargs argument 1125 if autospec is not None: 1138 self.autospec = autospec 1147 self.autospec, self.new_callable, self.kwargs 1250 autospec, kwargs = self.autospec, self.kwargs 1259 if autospec is False: 1260 autospec = None 1262 if spec is not None and autospec is not None: 1264 if ((spec is not None or autospec is not None) and 1270 if new is DEFAULT and autospec is None: [all …]
|
/external/python/cpython2/Lib/test/ |
D | _mock_backport.py | 1071 spec_set, autospec, new_callable, kwargs argument 1078 if autospec is not None: 1091 self.autospec = autospec 1100 self.autospec, self.new_callable, self.kwargs 1196 autospec, kwargs = self.autospec, self.kwargs 1205 if autospec is False: 1206 autospec = None 1208 if spec is not None and autospec is not None: 1210 if ((spec is not None or autospec is not None) and 1216 if new is DEFAULT and autospec is None: [all …]
|
/external/autotest/server/hosts/ |
D | file_store_unittest.py | 122 @mock.patch('chromite.lib.locking.FileLock', autospec=True) 142 @mock.patch('chromite.lib.locking.FileLock', autospec=True) 167 @mock.patch('chromite.lib.locking.FileLock', autospec=True)
|
/external/autotest/client/common_lib/cros/ |
D | retry_unittest.py | 34 patcher = mock.patch('time.sleep', autospec=True) 38 patcher = mock.patch('time.time', autospec=True)
|
D | dev_server_unittest.py | 261 sleep = mock.patch('time.sleep', autospec=True)
|