Home
last modified time | relevance | path

Searched refs:assert_has_calls (Results 1 – 21 of 21) sorted by relevance

/external/autotest/client/common_lib/cros/cfm/usb/
Dusb_port_manager_unittest.py28 host.run.assert_has_calls(expected_runs)
41 host.run.assert_has_calls(expected_runs)
52 host.run.assert_has_calls(expected_runs)
63 host.run.assert_has_calls(expected_runs)
/external/autotest/site_utils/
Dautomated_deploy_unittest.py43 run_cmd.assert_has_calls(expect_cmds)
58 run_cmd.assert_has_calls(expect_cmds)
75 run_cmd.assert_has_calls(expect_cmds)
Ddeploy_server_local_unittest.py140 run_cmd.assert_has_calls(expect_cmds)
150 run_cmd.assert_has_calls(expect_cmds)
/external/python/mock/mock/tests/
Dtestmock.py1098 mock.assert_has_calls([kall], any_order=True)
1102 AssertionError, mock.assert_has_calls,
1113 mock.assert_has_calls(kall_list, any_order=True)
1123 AssertionError, mock.assert_has_calls,
1157 mock.assert_has_calls(these)
1162 mock.assert_has_calls,
1181 mock.assert_has_calls(calls)
1182 mock.assert_has_calls(calls, any_order=True)
1183 mock.assert_has_calls(calls[1:])
1184 mock.assert_has_calls(calls[1:], any_order=True)
[all …]
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestmock.py1236 mock.assert_has_calls([kall], any_order=True)
1240 AssertionError, mock.assert_has_calls,
1251 mock.assert_has_calls(kall_list, any_order=True)
1261 AssertionError, mock.assert_has_calls,
1295 mock.assert_has_calls(these)
1300 mock.assert_has_calls,
1319 mock.assert_has_calls(calls)
1320 mock.assert_has_calls(calls, any_order=True)
1321 mock.assert_has_calls(calls[1:])
1322 mock.assert_has_calls(calls[1:], any_order=True)
[all …]
/external/chromium-trace/catapult/devil/devil/utils/lazy/
Dweak_constant_test.py66 initializer.assert_has_calls([mock.call(), mock.call()])
/external/tensorflow/tensorflow/contrib/opt/python/training/
Dexternal_optimizer_test.py128 loss_callback.assert_has_calls(loss_calls)
336 loss_callback.assert_has_calls(loss_calls, any_order=True)
/external/pdfium/third_party/pymock/
Dmock.py304 def assert_has_calls(*args, **kwargs): function
305 return mock.assert_has_calls(*args, **kwargs)
329 funcopy.assert_has_calls = assert_has_calls
849 def assert_has_calls(self, calls, any_order=False): member in NonCallableMock
/external/python/cpython2/Lib/test/
D_mock_backport.py209 def assert_has_calls(*args, **kwargs): function
210 return mock.assert_has_calls(*args, **kwargs)
234 funcopy.assert_has_calls = assert_has_calls
801 def assert_has_calls(self, calls, any_order=False): member in NonCallableMock
/external/autotest/server/hosts/
Dafe_store_unittest.py75 self.mock_afe.run.assert_has_calls(expected_run_calls,
/external/python/cpython3/Lib/unittest/
Dmock.py196 def assert_has_calls(*args, **kwargs): function
197 return mock.assert_has_calls(*args, **kwargs)
221 funcopy.assert_has_calls = assert_has_calls
843 def assert_has_calls(self, calls, any_order=False): member in NonCallableMock
/external/python/mock/mock/
Dmock.py319 def assert_has_calls(*args, **kwargs): function
320 return mock.assert_has_calls(*args, **kwargs)
344 funcopy.assert_has_calls = assert_has_calls
951 def assert_has_calls(self, calls, any_order=False): member in NonCallableMock
/external/autotest/server/cros/cfm/configurable_test/
Dactions_unittest.py150 self.usb_port_manager_mock.set_port_power.assert_has_calls(
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_data_test.py304 fake.assert_has_calls(expected_calls, any_order=True)
/external/tensorflow/tensorflow/contrib/learn/python/learn/
Dexperiment_test.py321 mock_server.assert_has_calls([test.mock.call().start()])
854 mock_server.assert_has_calls(
/external/tensorflow/tensorflow/contrib/meta_graph_transform/
Dmeta_graph_transform_test.py334 gtt_mock.assert_has_calls([
/external/python/cpython3/Doc/library/
Dunittest.mock-examples.rst1164 :meth:`~Mock.assert_has_calls` method. This takes a list of calls (constructed
1174 >>> m.assert_has_calls(calls)
1181 order. In this case you can pass ``any_order=True`` to ``assert_has_calls``:
1187 >>> m.assert_has_calls(calls, any_order=True)
Dunittest.mock.rst334 .. method:: assert_has_calls(calls, any_order=False)
352 >>> mock.assert_has_calls(calls)
354 >>> mock.assert_has_calls(calls, any_order=True)
775 :meth:`~Mock.assert_called_once_with`, :meth:`~Mock.assert_has_calls` and
1908 used with :meth:`~Mock.assert_has_calls`.
2068 'assert_has_calls',
/external/python/google-api-python-client/tests/
Dtest_discovery.py574 self.mocked_api.memcache.get.assert_has_calls(
622 cache.get.assert_has_calls([mock.call(url), mock.call(url)])
/external/autotest/client/common_lib/
Dutils_unittest.py1475 self.time_mock.sleep.assert_has_calls([pymock.call(sleep_interval)])
/external/python/cpython3/Lib/test/
Dtest_tarfile.py2588 mock_chown.assert_has_calls([unittest.mock.call(f_filename_1, 99, 98),
2607 mock_chown.assert_has_calls([unittest.mock.call(f_filename_1, 99, 98),