Home
last modified time | relevance | path

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

/external/python/pyfakefs/docs/
Dusage.rst929 .. _`example.py`: https://github.com/jmcgeheeiv/pyfakefs/blob/master/pyfakefs/tests/example.py
930 …example_test.py`: https://github.com/jmcgeheeiv/pyfakefs/blob/master/pyfakefs/tests/example_test.py
931 .. _`pytest`: https://doc.pytest.org
932 .. _`nose`: https://docs.nose2.io/en/latest/
933 …https://jmcgeheeiv.github.io/pyfakefs/master/modules.html#pyfakefs.fake_filesystem_unittest.Patcher
934 .. _`multiprocessing`: https://docs.python.org/3/library/multiprocessing.html
935 .. _`subprocess`: https://docs.python.org/3/library/subprocess.html
936 .. _`GitPython`: https://pypi.org/project/GitPython/
937 .. _`plumbum`: https://pypi.org/project/plumbum/
938 .. _`Pillow`: https://pypi.org/project/Pillow/
[all …]
/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
Dupdate_product_bundles_test.py54 def testGetHashFromSDK(self, mock_exists, mock_open): argument
67 mock_open): argument
/external/angle/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/toolchain-utils/llvm_tools/
Dauto_llvm_bisection_unittest.py49 mock_open, argument
150 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/cronet/build/fuchsia/test/
Dlog_manager_unittests.py38 def test_log_to_file(self, mock_open, mock_ffx) -> None: argument
/external/angle/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.py2815 def mock_open(mock=None, read_data=''): function