/external/autotest/venv/lucifer/ |
loglib_unittest.py | 23 autospec=True) as dictConfig: 33 autospec=True) as configure:
|
autotest_unittest.py | 47 with mock.patch('importlib.import_module', autospec=True) \ 66 with mock.patch('importlib.import_module', autospec=True) \ 78 with mock.patch('importlib.import_module', autospec=True) \
|
/external/autotest/site_utils/ |
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) 141 @mock.patch('subprocess.check_output', autospec=True) 159 @mock.patch('subprocess.check_output', autospec=True) 188 @mock.patch('subprocess.check_call', autospec=True) 199 @mock.patch('subprocess.check_output', autospec=True) 209 @mock.patch.object(dsl, 'restart_service', autospec=True) 217 with mock.patch.object(dsl, 'service_status', autospec=True, 245 @mock.patch('subprocess.check_output', autospec=True [all...] |
gs_offloader_unittest.py | [all...] |
/external/tensorflow/tensorflow/python/util/ |
deprecation_test.py | 29 @test.mock.patch.object(logging, "warning", autospec=True) 45 @test.mock.patch.object(logging, "warning", autospec=True) 79 @test.mock.patch.object(logging, "warning", autospec=True) 93 @test.mock.patch.object(logging, "warning", autospec=True) 129 @test.mock.patch.object(logging, "warning", autospec=True) 169 @test.mock.patch.object(logging, "warning", autospec=True) 209 @test.mock.patch.object(logging, "warning", autospec=True) 234 @test.mock.patch.object(logging, "warning", autospec=True) 259 @test.mock.patch.object(logging, "warning", autospec=True) 304 @test.mock.patch.object(logging, "warning", autospec=True [all...] |
/external/autotest/frontend/afe/ |
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/tensorflow/tensorflow/contrib/framework/python/framework/ |
experimental_test.py | 29 @test.mock.patch.object(logging, "warning", autospec=True)
|
/external/tensorflow/tensorflow/python/debug/cli/ |
evaluator_test.py | 154 dump, "get_tensors", side_effect=fake_get_tensors, autospec=True): 171 dump, "get_tensors", side_effect=fake_get_tensors, autospec=True): 185 dump, "get_tensors", side_effect=fake_get_tensors, autospec=True): 207 dump, "get_tensors", side_effect=fake_get_tensors, autospec=True): 227 dump, "get_tensors", side_effect=fake_get_tensors, autospec=True): 241 dump, "get_tensors", side_effect=fake_get_tensors, autospec=True):
|
/external/autotest/client/common_lib/cros/ |
retry_unittest.py | 34 patcher = mock.patch('time.sleep', autospec=True) 38 patcher = mock.patch('time.time', autospec=True)
|
dev_server_unittest.py | 96 sleep = mock.patch('time.sleep', autospec=True) 303 sleep = mock.patch('time.sleep', autospec=True) [all...] |
/external/autotest/server/hosts/ |
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/pdfium/third_party/pymock/ |
mock.py | [all...] |
/external/python/cpython2/Lib/test/ |
_mock_backport.py | [all...] |
/external/python/cpython3/Lib/unittest/ |
mock.py | [all...] |
/external/python/cpython3/Lib/unittest/test/testmock/ |
testpatch.py | 633 @patch('%s.SomeClass' % __name__, object(), autospec=True) 953 test = patch(foo_name, autospec=True)(function) 961 test = patch.object(module, 'Foo', autospec=True)(function) 970 @patch('%s.function' % __name__, autospec=True) 990 @patch('%s.function' % __name__, autospec=True, 1001 patcher = patch('%s.function' % __name__, new=3, autospec=True) 1005 patcher = patch.object(module, 'function', new=3, autospec=True) 1013 patcher = patch(foo_name, autospec=Bar) 1024 patcher = patch(foo_name, autospec=True) 1034 patcher = patch(foo_name, autospec=True [all...] |
/external/tensorflow/tensorflow/contrib/learn/python/learn/ |
monitors_test.py | 319 @test.mock.patch.object(estimators, 'Estimator', autospec=True) 338 @test.mock.patch.object(estimators, 'Estimator', autospec=True) 358 @test.mock.patch.object(estimators, 'Estimator', autospec=True) 377 @test.mock.patch.object(estimators, 'Estimator', autospec=True) [all...] |
graph_actions_test.py | 193 autospec=True) 204 autospec=True)
|
/external/tensorflow/tensorflow/python/debug/lib/ |
debug_data_test.py | 285 gfile, "Glob", side_effect=fake_gfile_glob, autospec=True) as fake:
|
/external/tensorflow/tensorflow/python/tools/ |
saved_model_cli_test.py | 519 autospec=True) as fake:
|
/external/autotest/server/cros/dynamic_suite/ |
suite_unittest.py | 653 job_status.JobResultWaiter, 'wait_for_results', autospec=True) 689 autospec=True) as wait_mock: [all...] |