Home
last modified time | relevance | path

Searched defs:mock_open (Results 1 – 15 of 15) sorted by relevance

/external/python/oauth2client/tests/contrib/
Dtest_locked_file.py83 def test_lock_access_error_fallback_mode(self, mock_open): argument
95 def test_lock_non_access_error(self, mock_open): argument
105 def test_lock_unexpected_error(self, mock_open): argument
116 def test_lock_timeout_error(self, mock_time, mock_logger, mock_open): argument
131 def test_lock_timeout_error_no_fh(self, mock_time, mock_logger, mock_open): argument
150 def test_lock_retry_success(self, mock_sleep, mock_time, mock_open): argument
/external/cronet/build/fuchsia/
Dupdate_sdk_test.py33 def testFileNotFound(self, mock_isfile, mock_open): argument
39 def testDefaultPath(self, mock_isfile, mock_open): argument
47 def testRead(self, mock_isfile, mock_open): argument
/external/angle/build/fuchsia/
Dupdate_sdk_test.py33 def testDefaultPath(self, mock_isfile, mock_open): argument
41 def testRead(self, mock_isfile, mock_open): argument
/external/toolchain-utils/llvm_tools/
Dauto_llvm_bisection_unittest.py48 mock_open, argument
152 mock_open, argument
/external/python/cpython3/Doc/library/
Dunittest.mock.rst2442 mock_open section in Helpers
2513 .. _auto-speccing:
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_outwin.py148 def test_file_line_helper(self, mock_open): argument
/external/angle/build/fuchsia/test/
Dlog_manager_unittests.py38 def test_log_to_file(self, mock_open, mock_ffx) -> None: argument
/external/cronet/build/fuchsia/test/
Dlog_manager_unittests.py38 def test_log_to_file(self, mock_open, mock_ffx) -> None: argument
/external/toolchain-utils/crosperf/
Dexperiment_runner_unittest.py463 mock_open, argument
/external/python/cpython2/Lib/test/
Dtest_sax.py181 def mock_open(*args): function
D_mock_backport.py2287 def mock_open(mock=None, read_data=''): function
/external/python/cpython3/Lib/test/
Dtest_sax.py207 def mock_open(*args): function
/external/pdfium/third_party/pymock/
Dmock.py2319 def mock_open(mock=None, read_data=''): function
/external/python/cpython3/Lib/unittest/test/testmock/
Dtestpatch.py394 def test_open(mock_open): argument
/external/python/cpython3/Lib/unittest/
Dmock.py2851 def mock_open(mock=None, read_data=''): function