Home
last modified time | relevance | path

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

/external/python/pyfakefs/docs/
Dusage.rst81 Patch using fake_filesystem_unittest.patchfs decorator
88 from pyfakefs.fake_filesystem_unittest import patchfs
90 @patchfs
106 @patchfs
115 @patchfs(allow_root_user=False)
258 # example using patchfs decorator
259 @patchfs(modules_to_reload=[example.sut])
321 # test code using patchfs decorator
322 @patchfs(modules_to_patch={'django.core.files.locks': FakeLocks})
Dmodules.rst40 :members: patchfs
/external/python/pyfakefs/pyfakefs/tests/
Dfake_filesystem_unittest_test.py34 from pyfakefs.fake_filesystem_unittest import Patcher, Pause, patchfs
46 @patchfs
335 @patchfs
343 @patchfs(modules_to_patch={
/external/python/pyfakefs/pyfakefs/
Dfake_filesystem_unittest.py86 def patchfs(additional_skip_names=None, function
/external/python/pyfakefs/
DCHANGES.md35 * Added convenience decorator `patchfs` to patch single functions using