Home
last modified time | relevance | path

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

/external/python/pyfakefs/docs/
Dusage.rst157 Patch using fake_filesystem_unittest.patchfs decorator
165 from pyfakefs.fake_filesystem_unittest import patchfs
168 @patchfs
180 @patchfs
187 @patchfs
192 Avoid writing the ``patchfs`` decorator *between* ``mock.patch`` operators,
208 @patchfs
295 patchfs subsection
297 If you use the ``patchfs`` decorator, you can pass the arguments directly to
302 from pyfakefs.fake_filesystem_unittest import patchfs
[all …]
Dmodules.rst40 :members: patchfs
Dautopatch.rst16 the ``patchfs`` decorator, or the ``Patcher`` class.
Dtroubleshooting.rst330 the ``patchfs`` decorator. ``Patcher`` instances created in the tests will be ignored likewise.
/external/python/pyfakefs/pyfakefs/tests/
Dfake_filesystem_unittest_test.py45 patchfs,
67 @patchfs
76 @patchfs
87 @patchfs
530 @patchfs
539 @patchfs(modules_to_patch={"pyfakefs.tests.import_as_example": FakeExampleModule})
782 @patchfs
940 @patchfs
/external/python/pyfakefs/
DREADME.md16 as a context manager, or by using the `patchfs` decorator.
DCHANGES.md609 * The `patchfs` decorator now expects a positional argument instead of the
612 adapt the argument order if you use the `patchfs` and `mock.patch`
717 * Added convenience decorator `patchfs` to patch single functions using
/external/python/pyfakefs/pyfakefs/
Dfake_filesystem_unittest.py133 def patchfs( function