Searched refs:PatchMode (Results 1 – 5 of 5) sorted by relevance
/external/python/pyfakefs/pyfakefs/ |
D | fake_filesystem_unittest.py | 58 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
|
D | fake_filesystem.py | 184 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/ |
D | fake_filesystem_unittest_test.py | 40 Patcher, Pause, patchfs, PatchMode 774 self.setUpPyfakefs(patch_open_code=PatchMode.AUTO)
|
D | fake_open_test.py | 30 from pyfakefs.fake_filesystem_unittest import PatchMode 961 self.filesystem.patch_open_code = PatchMode.ON
|
/external/python/pyfakefs/docs/ |
D | usage.rst | 494 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)
|