Home
last modified time | relevance | path

Searched refs:autospec (Results 1 – 8 of 8) sorted by relevance

/external/autotest/site_utils/
Ddeploy_server_local_unittest.py88 @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 …]
Dgs_offloader_unittest.py1529 autospec=True) as upload:
1555 autospec=True) as upload, \
1557 autospec=True) as get_cmd_list:
/external/autotest/frontend/afe/
Drpc_utils_unittest.py106 @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/
Dmock.py1118 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.py1071 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/
Dfile_store_unittest.py122 @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/
Dretry_unittest.py34 patcher = mock.patch('time.sleep', autospec=True)
38 patcher = mock.patch('time.time', autospec=True)
Ddev_server_unittest.py261 sleep = mock.patch('time.sleep', autospec=True)