Home
last modified time | relevance | path

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

12

/external/autotest/scheduler/
Dscheduler_lib_unittest.py31 readonly_connection.set_globally_disabled.reset_mock()
32 setup_django_environment.enable_autocommit.reset_mock()
42 connection_manager.open_connection.reset_mock()
46 connection_manager.open_connection.reset_mock()
65 database_connection._DjangoBackend.execute.reset_mock()
77 readonly_connection.set_globally_disabled.reset_mock()
78 setup_django_environment.enable_autocommit.reset_mock()
/external/toolchain-utils/crosperf/
Dexperiment_runner_unittest.py321 mock_getuser.reset_mock()
322 mock_emailer.reset_mock()
323 mock_attachment.reset_mock()
324 mock_text_report.reset_mock()
325 mock_html_report.reset_mock()
353 mock_getuser.reset_mock()
354 mock_emailer.reset_mock()
355 mock_attachment.reset_mock()
356 mock_text_report.reset_mock()
357 mock_html_report.reset_mock()
[all …]
Dresults_cache_unittest.py238 mock_runcmd.reset_mock()
239 mock_copyfiles.reset_mock()
408 mock_chrootruncmd.reset_mock()
409 mock_runcmd.reset_mock()
410 mock_mkdtemp.reset_mock()
411 mock_getpath.reset_mock()
498 mock_runcmd.reset_mock()
713 mock_getroot.reset_mock()
714 mock_runcmd.reset_mock()
727 mock_getroot.reset_mock()
[all …]
Ddownload_images_unittest.py75 mock_path_exists.reset_mock()
76 mock_cmd_exec.reset_mock()
143 mock_path_exists.reset_mock()
144 mock_cmd_exec.reset_mock()
Dsettings_unittest.py208 mock_run.reset_mock()
215 mock_run.reset_mock()
Dmachine_manager_unittest.py158 mock_run_cmd.reset_mock()
159 mock_run_croscmd.reset_mock()
160 mock_checksummer.reset_mock()
161 mock_sleep.reset_mock()
425 self.mock_logger.reset_mock()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_unix_events.py176 m_signal.set_wakeup_fd.reset_mock()
228 m_signal.set_wakeup_fd.reset_mock()
243 m_signal.signal.reset_mock()
1199 m.WIFSIGNALED.reset_mock()
1200 m.WIFEXITED.reset_mock()
1201 m.WEXITSTATUS.reset_mock()
1202 callback.reset_mock()
1212 m.WIFSIGNALED.reset_mock()
1213 m.WIFEXITED.reset_mock()
1214 m.WEXITSTATUS.reset_mock()
[all …]
/external/chromium-trace/catapult/devil/devil/android/tools/
Dsystem_app_test.py55 mock_device.reset_mock()
62 mock_device.reset_mock()
/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.py1476 gen.reset_mock()
1480 gen.reset_mock()
1484 gen.reset_mock()
1488 gen.reset_mock()
1492 gen.reset_mock()
1505 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/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/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/python/cpython3/Lib/unittest/test/testmock/
Dtestmock.py213 mock.reset_mock()
248 mock.reset_mock()
252 a.reset_mock()
262 mock.reset_mock()
337 mock.reset_mock()
397 mock.reset_mock()
403 mock.reset_mock()
546 real.reset_mock()
1133 mock.reset_mock()
1140 mock.reset_mock()
[all …]
Dtesthelpers.py59 mock.reset_mock()
387 m.reset_mock()
887 mocked.reset_mock()
/external/python/mock/mock/tests/
Dtestmock.py237 mock.reset_mock()
272 mock.reset_mock()
276 a.reset_mock()
286 mock.reset_mock()
339 mock.reset_mock()
394 mock.reset_mock()
400 mock.reset_mock()
544 real.reset_mock()
994 mock.reset_mock()
1001 mock.reset_mock()
[all …]
/external/python/setuptools/setuptools/tests/
Dtest_build_clib.py54 cmd.compiler.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/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/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/python/cpython3/Lib/unittest/
Dmock.py200 def reset_mock(): function
203 mock.reset_mock()
206 ret.reset_mock()
223 funcopy.reset_mock = reset_mock
533 def reset_mock(self, visited=None,*, return_value=False, side_effect=False): member in NonCallableMock
556 child.reset_mock(visited)
560 ret.reset_mock(visited)
/external/python/mock/mock/
Dmock.py323 def reset_mock(): function
326 mock.reset_mock()
329 ret.reset_mock()
346 funcopy.reset_mock = reset_mock
646 def reset_mock(self, visited=None): member in NonCallableMock
664 child.reset_mock(visited)
668 ret.reset_mock(visited)
/external/python/mock/
DNEWS19 - Issue #18622: unittest.mock.mock_open().reset_mock would recurse infinitely.
/external/python/cpython3/Misc/NEWS.d/
D3.5.0b4.rst179 unittest.mock.mock_open().reset_mock would recurse infinitely. Patch from

12