Home
last modified time | relevance | path

Searched refs:assert_called_once (Results 1 – 25 of 40) sorted by relevance

12

/external/toolchain-utils/llvm_tools/
Dllvm_patch_management_unittest.py42 mock_isdir.assert_called_once()
73 mock_isdir.assert_called_once()
75 mock_chroot_cmd.assert_called_once()
116 mock_isfile.assert_called_once()
133 mock_isfile.assert_called_once()
145 mock_isfile.assert_called_once()
209 mock_get_git_hash.assert_called_once()
211 mock_check_patch_metadata_path.assert_called_once()
213 mock_move_head_pointer.assert_called_once()
215 mock_create_temp_llvm_repo.assert_called_once()
[all …]
Dauto_llvm_bisection_unittest.py73 mock_outside_chroot.assert_called_once()
74 mock_get_args.assert_called_once()
75 mock_get_auto_script.assert_called_once()
164 mock_outside_chroot.assert_called_once()
165 mock_get_args.assert_called_once()
166 mock_get_auto_script.assert_called_once()
169 mock_traceback.assert_called_once()
170 mock_sleep.assert_called_once()
171 mock_update_tryjobs.assert_called_once()
225 mock_outside_chroot.assert_called_once()
[all …]
Dllvm_bisection_unittest.py289 mock_outside_chroot.assert_called_once()
291 mock_load_status_file.assert_called_once()
293 mock_get_range.assert_called_once()
295 mock_get_revision_and_hash_list.assert_called_once()
297 mock_abandon_cl.assert_called_once()
340 mock_outside_chroot.assert_called_once()
342 mock_load_status_file.assert_called_once()
390 mock_outside_chroot.assert_called_once()
392 mock_load_status_file.assert_called_once()
394 mock_get_range.assert_called_once()
[all …]
Dupdate_tryjob_status_unittest.py194 mock_exec_custom_script.assert_called_once()
196 mock_rename_file.assert_called_once()
198 mock_basename.assert_called_once()
233 mock_exec_custom_script.assert_called_once()
301 mock_find_tryjob_index.assert_called_once()
342 mock_find_tryjob_index.assert_called_once()
383 mock_find_tryjob_index.assert_called_once()
425 mock_find_tryjob_index.assert_called_once()
466 mock_find_tryjob_index.assert_called_once()
519 mock_find_tryjob_index.assert_called_once()
[all …]
Dpatch_manager_unittest.py41 mock_isdir.assert_called_once()
51 mock_isdir.assert_called_once()
70 mock_isfile.assert_called_once()
88 mock_isfile.assert_called_once()
100 mock_isfile.assert_called_once()
119 mock_isdir.assert_called_once()
143 mock_isdir.assert_called_once()
145 mock_isfile.assert_called_once()
164 mock_isdir.assert_called_once()
166 mock_isfile.assert_called_once()
[all …]
Dmodify_a_tryjob_unittest.py88 mock_find_tryjob_index.assert_called_once()
129 mock_find_tryjob_index.assert_called_once()
205 mock_find_tryjob_index.assert_called_once()
207 mock_run_tryjob.assert_called_once()
249 mock_find_tryjob_index.assert_called_once()
288 mock_find_tryjob_index.assert_called_once()
355 mock_find_tryjob_index.assert_called_once()
359 mock_add_tryjob.assert_called_once()
398 mock_find_tryjob_index.assert_called_once()
Dupdate_packages_and_run_tests_unittest.py153 mock_add_links_to_cl.assert_called_once()
194 mock_add_links_to_cl.assert_called_once()
284 mock_outside_chroot.assert_called_once()
286 mock_get_commandline_args.assert_called_once()
288 mock_get_hash_and_version.assert_called_once()
290 mock_run_tryjobs.assert_called_once()
292 mock_update_packages.assert_called_once()
Dupdate_chromeos_llvm_hash_unittest.py50 mock_isfile.assert_called_once()
141 mock_stage_commit_command.assert_called_once()
180 mock_stage_commit_command.assert_called_once()
194 mock_islink.assert_called_once()
207 mock_islink.assert_called_once()
335 mock_command_output.assert_called_once()
457 mock_isfile.assert_called_once()
469 mock_run_cmd.assert_called_once()
789 mock_update_package_metadata_file.assert_called_once()
Dgit_unittest.py39 mock_isdir.assert_called_once()
66 mock_isdir.assert_called_once()
93 mock_isdir.assert_called_once()
Dget_llvm_hash_unittest.py67 mock_get_git_hash.assert_called_once()
91 mock_check_output.assert_called_once()
Dchroot_unittest.py39 mock_chroot_command.assert_called_once()
/external/autotest/server/cros/crosperf/
Ddevice_setup_utils_unittest.py342 mock_setup_arm.assert_called_once()
353 mock_setup_arm.assert_called_once()
571 mock_run_command.assert_called_once()
606 mock_run_command.assert_called_once()
844 mock_kern_cmd_update_needed.assert_called_once()
845 mock_update_kern_cmd_intel_pstate.assert_called_once()
846 mock_disable_aslr.assert_called_once()
847 mock_setup_cpu_usage.assert_called_once()
850 mock_get_cpu_online.assert_called_once()
853 mock_disable_turbo.assert_called_once()
[all …]
/external/autotest/client/common_lib/cros/fake_device_server/
Dregistration_tickets_unittest.py73 common_util.parse_serialized_json.assert_called_once()
74 common_util.grab_header_field.assert_called_once()
99 common_util.parse_serialized_json.assert_called_once()
112 common_util.parse_serialized_json.assert_called_once()
123 common_util.parse_serialized_json.assert_called_once()
Dresource_method_unittest.py40 common_util.parse_serialized_json.assert_called_once()
53 common_util.parse_serialized_json.assert_called_once()
64 common_util.parse_serialized_json.assert_called_once()
/external/autotest/client/cros/faft/utils/
Dflashrom_handler_unittest.py55 mock_subproc_popen.assert_called_once()
74 mock_subproc_popen.assert_called_once()
/external/toolchain-utils/cros_utils/
Ddevice_setup_utils_unittest.py451 self.dw.RunCommandOnDut.assert_called_once()
479 self.dw.RunCommandOnDut.assert_called_once()
647 self.dw.KerncmdUpdateNeeded.assert_called_once()
648 self.dw.UpdateKerncmdIntelPstate.assert_called_once()
649 self.dw.DisableASLR.assert_called_once()
669 self.dw.DisableASLR.assert_called_once()
/external/autotest/client/common_lib/cros/
Dstring_utils_unittest.py37 sep.join.assert_called_once()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_threads.py53 func.assert_called_once()
/external/python/mock/
DCHANGELOG.rst102 messages if ``assert_not_called``, ``assert_called_once``, or
106 assert_called, assert_not_called, and assert_called_once.
131 - Issue #26323: Add Mock.assert_called() and Mock.assert_called_once()
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_autocomplete.py58 m.hide_window.assert_called_once()
88 mock.complete.assert_called_once()
Dtest_configdialog.py69 apply.assert_called_once()
70 destroy.assert_called_once()
79 deactivate.assert_called_once()
80 save_ext.assert_called_once()
81 activate.assert_called_once()
1493 cb.assert_called_once()
/external/tensorflow/tensorflow/python/tpu/
Dtpu_test_wrapper_test.py199 mock_main.assert_called_once()
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestasync.py751 mock.async_method.assert_called_once()
762 mock.async_method.assert_called_once()
769 mock.async_method.assert_called_once()
782 self.mock.assert_called_once()
802 mock.async_method.assert_called_once()
/external/python/mock/mock/
Dmock.py293 def assert_called_once(*args, **kwargs): function
294 return mock.assert_called_once(*args, **kwargs)
329 funcopy.assert_called_once = assert_called_once
910 def assert_called_once(_mock_self): member in NonCallableMock
/external/python/mock/mock/tests/
Dtestmock.py1557 m.hello.assert_called_once()
1559 m.hello.assert_called_once()
1563 m.hello.assert_called_once()
1571 m.assert_called_once)
1576 m.assert_called_once()

12