Home
last modified time | relevance | path

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

12

/external/autotest/client/common_lib/cros/cfm/usb/
Dusb_port_manager_unittest.py58 host.run.assert_has_calls(expected_runs)
77 host.run.assert_has_calls(expected_runs)
88 host.run.assert_has_calls(expected_runs)
99 host.run.assert_has_calls(expected_runs)
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestmock.py1341 mock.assert_has_calls([kall], any_order=True)
1345 AssertionError, mock.assert_has_calls,
1356 mock.assert_has_calls(kall_list, any_order=True)
1366 AssertionError, mock.assert_has_calls,
1400 mock.assert_has_calls(these)
1405 mock.assert_has_calls,
1425 m.assert_has_calls([call.meth(1, 2, 3, d=1)])
1426 m.assert_has_calls([call.meth(1, 2, 3, 1)])
1431 self.assertRaises(AssertionError, m.assert_has_calls, [call.Foo()])
1433 m.assert_has_calls([call.Foo(1), call.Foo(1).meth1(1, 2)])
[all …]
Dtesthelpers.py74 mock.assert_has_calls([call(ANY, 1)])
86 mock.assert_has_calls([call(ANY, 1)])
994 mock.assert_has_calls([call(1)])
996 mock.assert_has_calls([call(2)])
Dtestasync.py827 self.mock.assert_has_calls(kalls)
/external/toolchain-utils/rust_tools/
Drust_uprev_test.py186 mock_flip.assert_has_calls(
251 mock_raw_call.assert_has_calls([
256 mock_call.assert_has_calls([
288 mock_raw_call.assert_has_calls([
293 mock_call.assert_has_calls([
308 mock_upload.assert_has_calls([
363 mock_copy.assert_has_calls([
/external/python/mock/mock/tests/
Dtestmock.py1335 mock.assert_has_calls([kall], any_order=True)
1339 AssertionError, mock.assert_has_calls,
1350 mock.assert_has_calls(kall_list, any_order=True)
1360 AssertionError, mock.assert_has_calls,
1394 mock.assert_has_calls(these)
1399 mock.assert_has_calls,
1417 mock.assert_has_calls(calls)
1418 mock.assert_has_calls(calls, any_order=True)
1419 mock.assert_has_calls(calls[1:])
1420 mock.assert_has_calls(calls[1:], any_order=True)
[all …]
Dtesthelpers.py1040 mock.assert_has_calls([call(1)])
1042 mock.assert_has_calls([call(2)])
/external/toolchain-utils/crosperf/
Dresults_cache_unittest.py1054 mo.assert_has_calls(calls)
1065 mo.assert_has_calls(calls)
1093 mo.assert_has_calls(calls)
1110 mo.assert_has_calls(calls)
1121 mo.assert_has_calls(calls)
1132 mo.assert_has_calls(calls)
1143 mo.assert_has_calls(calls)
1433 mock_proc_turbo.assert_has_calls([mock.call()])
1468 mock_proc_cpustats.assert_has_calls([mock.call()])
1502 mock_proc_turbo.assert_has_calls([mock.call()])
/external/chromium-trace/catapult/devil/devil/utils/lazy/
Dweak_constant_test.py58 initializer.assert_has_calls([mock.call(), mock.call()])
/external/pigweed/pw_rpc/py/tests/
Dcallback_client_test.py213 callback.assert_has_calls([
319 callback.assert_has_calls([
353 callback.assert_has_calls([
/external/oss-fuzz/infra/base-images/base-builder/
Dbisect_clang_test.py232 mock_test_start_commit.assert_has_calls([
/external/autotest/server/hosts/
Dafe_store_unittest.py81 self.mock_afe.run.assert_has_calls(expected_run_calls,
/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/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/autotest/server/cros/cfm/configurable_test/
Dactions_unittest.py150 self.usb_port_manager_mock.set_port_power.assert_has_calls(
/external/python/mock/mock/
Dmock.py299 def assert_has_calls(*args, **kwargs): function
300 return mock.assert_has_calls(*args, **kwargs)
324 funcopy.assert_has_calls = assert_has_calls
960 def assert_has_calls(self, calls, any_order=False): member in NonCallableMock
/external/python/cpython3/Lib/unittest/
Dmock.py209 def assert_has_calls(*args, **kwargs): function
210 return mock.assert_has_calls(*args, **kwargs)
234 funcopy.assert_has_calls = assert_has_calls
922 def assert_has_calls(self, calls, any_order=False): member in NonCallableMock
/external/tensorflow/tensorflow/python/debug/lib/
Ddebug_data_test.py302 fake.assert_has_calls(expected_calls, any_order=True)
/external/python/mock/
DCHANGELOG.rst80 - Issue #0: Improved an error message when mock assert_has_calls fails.
/external/python/cpython3/Doc/library/
Dunittest.mock-examples.rst1219 :meth:`~Mock.assert_has_calls` method. This takes a list of calls (constructed
1229 >>> m.assert_has_calls(calls)
1236 order. In this case you can pass ``any_order=True`` to ``assert_has_calls``:
1242 >>> m.assert_has_calls(calls, any_order=True)
Dunittest.mock.rst358 .. method:: assert_has_calls(calls, any_order=False)
376 >>> mock.assert_has_calls(calls)
378 >>> mock.assert_has_calls(calls, any_order=True)
811 :meth:`~Mock.assert_called_once_with`, :meth:`~Mock.assert_has_calls` and
2233 used with :meth:`~Mock.assert_has_calls`.
2403 'assert_has_calls',
/external/python/google-api-python-client/tests/
Dtest_discovery.py638 self.mocked_api.memcache.get.assert_has_calls(
694 cache.get.assert_has_calls([mock.call(url), mock.call(url)])
/external/autotest/client/common_lib/
Dutils_unittest.py1491 self.time_mock.sleep.assert_has_calls([pymock.call(sleep_interval)])
/external/python/cpython3/Lib/test/
Dtest_tarfile.py2686 mock_chown.assert_has_calls([unittest.mock.call(f_filename_1, 99, 98),
2705 mock_chown.assert_has_calls([unittest.mock.call(f_filename_1, 99, 98),
/external/python/cpython3/Misc/NEWS.d/
D3.9.0a1.rst343 Improve error handling for the assert_has_calls and assert_has_awaits

12