Home
last modified time | relevance | path

Searched refs:reset_mock (Results 1 – 25 of 46) sorted by relevance

12

/external/toolchain-utils/crosperf/
Dexperiment_runner_unittest.py331 mock_getuser.reset_mock()
332 mock_emailer.reset_mock()
333 mock_attachment.reset_mock()
334 mock_text_report.reset_mock()
335 mock_html_report.reset_mock()
363 mock_getuser.reset_mock()
364 mock_emailer.reset_mock()
365 mock_attachment.reset_mock()
366 mock_text_report.reset_mock()
367 mock_html_report.reset_mock()
[all …]
Ddownload_images_unittest.py79 mock_path_exists.reset_mock()
80 mock_cmd_exec.reset_mock()
147 mock_path_exists.reset_mock()
148 mock_cmd_exec.reset_mock()
Dresults_cache_unittest.py529 mock_runcmd.reset_mock()
530 mock_copyfiles.reset_mock()
708 mock_chrootruncmd.reset_mock()
709 mock_runcmd.reset_mock()
710 mock_mkdtemp.reset_mock()
711 mock_getpath.reset_mock()
811 mock_runcmd.reset_mock()
1659 mock_getroot.reset_mock()
1660 mock_runcmd.reset_mock()
1673 mock_getroot.reset_mock()
[all …]
Dsettings_unittest.py217 mock_run.reset_mock()
225 mock_run.reset_mock()
Dmachine_manager_unittest.py162 mock_run_cmd.reset_mock()
163 mock_run_croscmd.reset_mock()
164 mock_checksummer.reset_mock()
165 mock_sleep.reset_mock()
426 self.mock_logger.reset_mock()
/external/autotest/server/cros/crosperf/
Ddevice_setup_utils_unittest.py806 mock_kern_cmd_update_needed.reset_mock()
807 mock_update_kern_cmd_intel_pstate.reset_mock()
808 mock_disable_aslr.reset_mock()
809 mock_setup_cpu_usage.reset_mock()
810 mock_setup_cpu_freq.reset_mock()
811 mock_get_cpu_online.reset_mock()
812 mock_set_cpu_governor.reset_mock()
813 mock_disable_turbo.reset_mock()
814 mock_stop_ui.reset_mock()
815 mock_start_ui.reset_mock()
[all …]
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_unix_events.py186 m_signal.set_wakeup_fd.reset_mock()
242 m_signal.set_wakeup_fd.reset_mock()
258 m_signal.signal.reset_mock()
1239 m.WIFSIGNALED.reset_mock()
1240 m.WIFEXITED.reset_mock()
1241 m.WEXITSTATUS.reset_mock()
1242 callback.reset_mock()
1252 m.WIFSIGNALED.reset_mock()
1253 m.WIFEXITED.reset_mock()
1254 m.WEXITSTATUS.reset_mock()
[all …]
/external/python/cpython3/Lib/test/
Dtest_code_module.py85 self.stderr.reset_mock()
100 self.stderr.reset_mock()
106 self.stderr.reset_mock()
Dtest_types.py1505 gen.reset_mock()
1509 gen.reset_mock()
1513 gen.reset_mock()
1517 gen.reset_mock()
1521 gen.reset_mock()
1534 gen.reset_mock()
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_macosx.py58 mockinit.reset_mock()
100 overrideRootMenu.reset_mock()
Dtest_parenmatch.py106 pm.restore_event.reset_mock()
/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_parenmatch.py17 def reset_mock(self, *args, **kwargs): member in Mock
115 pm.restore_event.reset_mock()
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Ddependency_manager_unittest.py258 dep_info_a.reset_mock()
259 dep_info_b.reset_mock()
260 dep_info_c.reset_mock()
283 dep_info_a.reset_mock()
284 dep_info_b.reset_mock()
285 dep_info_c.reset_mock()
/external/chromium-trace/catapult/devil/devil/android/tools/
Dsystem_app_test.py68 mock_device.reset_mock()
75 mock_device.reset_mock()
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestmock.py213 mock.reset_mock()
248 mock.reset_mock()
252 a.reset_mock()
262 mock.reset_mock()
350 mock.reset_mock()
417 mock.reset_mock()
423 mock.reset_mock()
572 real.reset_mock()
1239 mock.reset_mock()
1246 mock.reset_mock()
[all …]
/external/python/mock/mock/tests/
Dtestmock.py231 mock.reset_mock()
266 mock.reset_mock()
270 a.reset_mock()
280 mock.reset_mock()
361 mock.reset_mock()
421 mock.reset_mock()
427 mock.reset_mock()
577 real.reset_mock()
1232 mock.reset_mock()
1239 mock.reset_mock()
[all …]
/external/python/mock/
DCHANGELOG.rst36 - Issue #31177: Fix bug that prevented using :meth:`reset_mock
37 <unittest.mock.Mock.reset_mock>` on mock instances with deleted attributes
119 - Issue #21271: New keyword only parameters in reset_mock call.
146 - Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely.
/external/python/setuptools/setuptools/tests/
Dtest_build_clib.py54 cmd.compiler.reset_mock()
/external/autotest/client/common_lib/cros/fake_device_server/
Dresource_method_unittest.py55 common_util.parse_serialized_json.reset_mock()
Dregistration_tickets_unittest.py114 common_util.parse_serialized_json.reset_mock()
/external/avb/test/
Dat_auth_unlock_unittest.py362 mock_subp_check_output.reset_mock()
500 mock_parser_error.reset_mock()
505 mock_parser_error.reset_mock()
/external/python/cpython3/Lib/unittest/
Dmock.py213 def reset_mock(): function
216 mock.reset_mock()
219 ret.reset_mock()
236 funcopy.reset_mock = reset_mock
573 def reset_mock(self, visited=None,*, return_value=False, side_effect=False): member in NonCallableMock
596 child.reset_mock(visited, return_value=return_value, side_effect=side_effect)
600 ret.reset_mock(visited)
2294 def reset_mock(self, /, *args, **kwargs): member in AsyncMockMixin
2298 super().reset_mock(*args, **kwargs)
/external/python/cpython2/Lib/test/
D_mock_backport.py213 def reset_mock(): function
216 mock.reset_mock()
219 ret.reset_mock()
236 funcopy.reset_mock = reset_mock
528 def reset_mock(self): member in NonCallableMock
540 child.reset_mock()
544 ret.reset_mock()
/external/pdfium/third_party/pymock/
Dmock.py308 def reset_mock(): function
311 mock.reset_mock()
314 ret.reset_mock()
331 funcopy.reset_mock = reset_mock
612 def reset_mock(self): member in NonCallableMock
624 child.reset_mock()
628 ret.reset_mock()
/external/python/mock/mock/
Dmock.py303 def reset_mock(): function
306 mock.reset_mock()
309 ret.reset_mock()
326 funcopy.reset_mock = reset_mock
638 def reset_mock(self, visited=None, return_value=False, side_effect=False): member in NonCallableMock
661 child.reset_mock(visited)
665 ret.reset_mock(visited)

12