Home
last modified time | relevance | path

Searched refs:PatchMode (Results 1 – 5 of 5) sorted by relevance

/external/python/pyfakefs/pyfakefs/
Dfake_filesystem_unittest.py58 set_uid, set_gid, reset_ids, PatchMode, FakeFile, FakeFilesystem
90 patch_open_code: PatchMode = PatchMode.OFF, argument
146 patch_open_code: PatchMode = PatchMode.OFF, argument
227 patch_open_code: PatchMode = PatchMode.OFF, argument
408 patch_open_code: PatchMode = PatchMode.OFF, argument
Dfake_filesystem.py184 class PatchMode(Enum): class
959 self.patch_open_code = PatchMode.OFF
4858 if (patch_mode == PatchMode.AUTO and self.filesystem.exists(path)
4859 or patch_mode == PatchMode.ON):
/external/python/pyfakefs/pyfakefs/tests/
Dfake_filesystem_unittest_test.py40 Patcher, Pause, patchfs, PatchMode
774 self.setUpPyfakefs(patch_open_code=PatchMode.AUTO)
Dfake_open_test.py30 from pyfakefs.fake_filesystem_unittest import PatchMode
961 self.filesystem.patch_open_code = PatchMode.ON
/external/python/pyfakefs/docs/
Dusage.rst494 to ``PatchMode.ON``. If you just want to patch ``open_case`` for files that
496 set ``patch_open_code`` to ``PatchMode.AUTO``:
500 from pyfakefs.fake_filesystem_unittest import PatchMode
502 @patchfs(patch_open_code=PatchMode.AUTO)